Match ends, Northampton Town 1, Oldham Athletic 2.
Substitute Lee Irwin grabbed a stoppage-time winner as Oldham won at Northampton.
John-Joe O'Toole cancelled out Tope Obadeyi's first-half opener late in the game but Irwin came off the bench to bag the winner and keep Oldham three points above the League One relegation zone.
Both sides had early chances, O'Toole tested Connor Ripley while Obadeyi fired wide at the other end before Ryan McLaughlin shot over.
O'Toole should have given Cobblers the lead after Keshi Anderson set him up but he allowed Ripley to make a routine save.
And moments later Ripley denied Anderson in a one-on-one situation before then keeping out Michael Smith's header.
The visitors took a 23rd-minute lead when Aaron Holloway got into the box and set up Obadeyi who finished from close range.
Hiram Boateng shot wide before Smith missed a great chance to equalise when he volleyed wide from Neal Eardley's cross and Anderson was denied by Ripley.
Both sides had chances early in the second half. Anderson was again denied by Ripley, as was Boateng, while Holloway was thwarted by Adam Smith who then dealt with Aiden O'Neill's header.
O'Toole snatched an 84th-minute equaliser, netting from close range after substitute Marc Richards was thwarted.
But Oldham's late pressure paid off in stoppage time when Irwin fired into the bottom corner from the edge of the box.
Report supplied by the Press Association.
Line-ups
Northampton
Formation 4-3-2-1
- 1Smith
- 3Buchanan
- 6Zakuani
- 22Nyatanga
- 32Eardley
- 11WyldeSubstituted forMcCourtat 75'minutes
- 21O'Toole
- 31TaylorBooked at 24mins
- 8BoatengSubstituted forBeautymanat 84'minutes
- 24SmithSubstituted forRichardsat 63'minutes
- 7Anderson
Substitutes
- 4Anderson
- 5Diamond
- 9Richards
- 12McCourt
- 16Beautyman
- 18Phillips
- 26Cornell
Oldham
Formation 4-3-3
- 1Ripley
- 27McLaughlin
- 26Clarke
- 5Gerrard
- 22Hunt
- 8BanksBooked at 74mins
- 28Green
- 6O'NeillSubstituted forFaneat 78'minutes
- 10Holloway
- 30ObadeyiSubstituted forErwinat 68'minutesBooked at 90mins
- 7FlynnSubstituted forTaylorat 68'minutes
Substitutes
- 2Law
- 12Taylor
- 13Kettings
- 14Ngoo
- 15Edmundson
- 19Erwin
- 24Fane
- Referee:
- Brett Huxtable
- Attendance:
- 4,686
Match Stats
- Possession
- Home53%
- Away47%
- Shots
- Home13
- Away10
- Shots on Target
- Home7
- Away5
- Corners
- Home6
- Away4
- Fouls
- Home7
- Away11
Live Text
Post update
Full Time
Second Half ends, Northampton Town 1, Oldham Athletic 2.
Booking
Lee Erwin (Oldham Athletic) is shown the yellow card for excessive celebration.
Goal!
Goal! Northampton Town 1, Oldham Athletic 2. Lee Erwin (Oldham Athletic) left footed shot from outside the box to the bottom right corner. Assisted by Aaron Holloway.
Post update
Marc Richards (Northampton Town) wins a free kick in the attacking half.
Post update
Foul by Ousmane Fane (Oldham Athletic).
Post update
Corner, Oldham Athletic. Conceded by Jak McCourt.
Post update
Foul by Gabriel Zakuani (Northampton Town).
Post update
Aaron Holloway (Oldham Athletic) wins a free kick on the left wing.
Post update
Foul by John-Joe O'Toole (Northampton Town).
Post update
Anthony Gerrard (Oldham Athletic) wins a free kick in the attacking half.
Post update
Corner, Oldham Athletic. Conceded by Neal Eardley.
Goal!
Goal! Northampton Town 1, Oldham Athletic 1. John-Joe O'Toole (Northampton Town) right footed shot from very close range to the bottom left corner.
Substitution
Substitution, Northampton Town. Harry Beautyman replaces Hiram Boateng.
Post update
Hand ball by Ousmane Fane (Oldham Athletic).
Post update
Corner, Oldham Athletic. Conceded by Adam Smith.
Post update
Attempt saved. Lee Erwin (Oldham Athletic) right footed shot from the left side of the box is saved in the top right corner.
Post update
Attempt missed. John-Joe O'Toole (Northampton Town) right footed shot from the centre of the box is close, but misses to the right.
Post update
Foul by Keshi Anderson (Northampton Town).
Post update
Ryan McLaughlin (Oldham Athletic) wins a free kick on the left wing.