Match ends, Gillingham 2, Chesterfield 3.

Jimmy Ryan struck the winner as Chesterfield edged a five-goal thriller to beat Gillingham and claim their first away league victory since August.
Sam Clucas put the visitors ahead from an acute angle and the Spireites doubled their advantage when Leon Legge diverted a cross into his own net.
However, the Gills drew level with two goals in three minutes as Cody McDonald and John Egan headed in.
Ryan settled the game with a well-executed volley with 21 minutes left.
McDonald should have made it 3-3 with the last kick of the match, but volleyed wide from 12 yards when through on goal.
Chesterfield assistant manager Leam Richardson told BBC Radio Sheffield:
"Any points away from home are precious, thankfully we got them today.
"We came out after half-time and created two or three really good chances where I thought we could have finished them off. If it finished 3-0 or 4-0 it would have been a very good day for us.
"Credit to Gillingham, they put some good players on, made good changes and put us on the back foot a little bit.
"But our lads came through it and finished strong, with Jimmy getting a great goal in the end."
Line-ups
Gillingham
Formation 3-5-2
- 1Nelson
- 6Legge
- 4Egan
- 5EhmerBooked at 70mins
- 8Hessenthaler
- 7Loft
- 21Doughty
- 23DackSubstituted forMcGlashanat 54'minutes
- 3Martin
- 19NorrisSubstituted forKedwellat 72'minutes
- 24DickensonSubstituted forMcDonaldat 54'minutes
Substitutes
- 9Kedwell
- 10McDonald
- 11McGlashan
- 16Linganzi
- 29Lennon
- 30Bywater
- 31Hoyte
Chesterfield
Formation 4-4-2
- 1Lee
- 23Evatt
- 16Raglan
- 4Hird
- 12Clucas
- 2Darikwa
- 8Ryan
- 15Humphreys
- 11Roberts
- 9Gnanduillet
- 18Boco
Substitutes
- 10O'Shea
- 17Doyle
- 28Ariyibi
- 31Wright
- Referee:
- Chris Sarginson
- Attendance:
- 6,841
Match Stats
- Possession
- Home50%
- Away50%
- Shots
- Home9
- Away10
- Shots on Target
- Home4
- Away5
- Corners
- Home2
- Away4
- Fouls
- Home9
- Away10
Live Text
Post update
Full Time
Second Half ends, Gillingham 2, Chesterfield 3.
Post update
Attempt missed. Cody McDonald (Gillingham) left footed shot from the centre of the box is close, but misses to the left.
Post update
Attempt missed. Ritchie Humphreys (Chesterfield) left footed shot from outside the box is close, but misses to the left.
Post update
Corner, Chesterfield. Conceded by Leon Legge.
Post update
Attempt missed. Gary Roberts (Chesterfield) left footed shot from outside the box is close, but misses to the left.
Post update
Attempt missed. Ritchie Humphreys (Chesterfield) left footed shot from outside the box is close, but misses to the left.
Post update
Foul by Jermaine McGlashan (Gillingham).
Post update
Sam Hird (Chesterfield) wins a free kick in the defensive half.
Post update
Attempt missed. Gary Roberts (Chesterfield) right footed shot from outside the box is just a bit too high from a direct free kick.
Post update
Foul by Michael Doughty (Gillingham).
Post update
Gary Roberts (Chesterfield) wins a free kick in the defensive half.
Substitution
Substitution, Gillingham. Danny Kedwell replaces Luke Norris.
Post update
Corner, Chesterfield. Conceded by John Egan.
Post update
Gary Roberts (Chesterfield) wins a free kick in the attacking half.
Post update
Foul by Max Ehmer (Gillingham).
Goal!
Goal! Gillingham 2, Chesterfield 3. Jimmy Ryan (Chesterfield) right footed shot from outside the box to the bottom right corner.
Goal!
Goal! Gillingham 2, Chesterfield 2. John Egan (Gillingham) header from the centre of the box to the bottom right corner. Assisted by Doug Loft.
Goal!
Goal! Gillingham 1, Chesterfield 2. Cody McDonald (Gillingham) header from the centre of the box to the top right corner. Assisted by Doug Loft.
Post update
Foul by Luke Norris (Gillingham).