Hallam Hope scored an injury-time winner as Oldham beat Aldershot 2-1 to climb to 10th in the National League table.
The home side opened the scoring in the 20th minute when captain Dan Gardner collected a loose ball and fired a shot into the bottom corner.
Aldershot equalised just five minutes later as Justin Amaluzor found the top corner with a shot from the edge of the area.
But just as the game looked certain to end in a draw, Hope latched on to a ball from midfield and slotted home the winner.
Subscribe or register today to discover more from DonegalLive.ie
Buy the e-paper of the Donegal Democrat, Donegal People's Press, Donegal Post and Inish Times here for instant access to Donegal's premier news titles.
Keep up with the latest news from Donegal with our daily newsletter featuring the most important stories of the day delivered to your inbox every evening at 5pm.