Match ends, Gillingham 2, Peterborough United 1.

Cody McDonald's 50th Gillingham goal condemned high-flying Peterborough to their first away defeat of the season.
The striker gave the Gills the lead by heading home Jake Hessenthaler's cross.
A fluke goal from Jon Taylor levelled the game on the stroke of half-time, when a cross-turned-shot looped in over on-loan Gills keeper Stephen Bywater.
Joe Newell hit a post for the visitors, but McDonald won it by converting from the penalty spot four minutes from time after Christian Burgess handled.
Gillingham move to within two points of the play-off places, while Peterborough still lie second but are now four points behind leaders Bristol City.
Line-ups
Gillingham
Formation 4-4-2
- 30Bywater
- 5Hause
- 15Morris
- 3Martin
- 4Egan
- 23Dack
- 8HessenthalerBooked at 69minsSubstituted forLinganziat 73'minutes
- 7LoftSubstituted forPritchardat 73'minutes
- 11McGlashan
- 19NorrisSubstituted forDickensonat 80'minutes
- 10McDonald
Substitutes
- 6Legge
- 12Morris
- 14German
- 16Linganzi
- 18Pritchard
- 20Davies
- 24Dickenson
Peterborough
Formation 4-4-2
- 27Alnwick
- 22Almeida SantosBooked at 76mins
- 5Baldwin
- 2SmithBooked at 75mins
- 21BurgessBooked at 85mins
- 8PayneBooked at 24mins
- 15AndersonSubstituted forNewellat 45'minutes
- 30Maddison
- 7TaylorSubstituted forFerdinandat 70'minutes
- 9JamesSubstituted forWashingtonat 77'minutes
- 12Vassell
Substitutes
- 4Brisley
- 11McCann
- 14Washington
- 17Newell
- 18Ferdinand
- 20McEvoy
- 32Grant
- Referee:
- Mark Heywood
- Attendance:
- 4,819
Match Stats
- Possession
- Home45%
- Away55%
- Shots
- Home10
- Away18
- Shots on Target
- Home3
- Away4
- Corners
- Home5
- Away6
- Fouls
- Home9
- Away11
Live Text
Post update
Full Time
Second Half ends, Gillingham 2, Peterborough United 1.
Post update
Joe Martin (Gillingham) wins a free kick in the attacking half.
Post update
Foul by Marcus Maddison (Peterborough United).
Post update
Attempt missed. Christian Burgess (Peterborough United) header from the centre of the box misses to the left.
Post update
Foul by Joe Martin (Gillingham).
Post update
Kane Ferdinand (Peterborough United) wins a free kick on the right wing.
Goal!
Goal! Gillingham 2, Peterborough United 1. Cody McDonald (Gillingham) converts the penalty with a right footed shot to the top right corner.
Booking
Christian Burgess (Peterborough United) is shown the yellow card.
Post update
Penalty conceded by Christian Burgess (Peterborough United) with a hand ball in the penalty area.
Post update
Joe Martin (Gillingham) wins a free kick in the defensive half.
Post update
Foul by Kyle Vassell (Peterborough United).
Post update
Attempt missed. Jack Payne (Peterborough United) right footed shot from the centre of the box is just a bit too high.
Substitution
Substitution, Gillingham. Brennan Dickenson replaces Luke Norris.
Post update
Foul by Josh Pritchard (Gillingham).
Post update
Michael Smith (Peterborough United) wins a free kick in the defensive half.
Substitution
Substitution, Peterborough United. Conor Washington replaces Luke James.
Post update
Attempt missed. Bradley Dack (Gillingham) right footed shot from outside the box is just a bit too high from a direct free kick.
Booking
Ricardo Santos (Peterborough United) is shown the yellow card.
Post update
Amine Linganzi (Gillingham) wins a free kick in the attacking half.