A brace from James Wesolowski secured a draw for Oldham at Preston.
Juvhel Tsoumou headed home Danny Mayor's cross and Jamie Proctor poked home from Paul Coutts' ball to put the hosts 2-0 up.
Shefki Kuqi pulled one back with a neat finish before Wesolowski deflected a David Mellor free-kick in to level.
Danny Devine put the Lilywhites back in front when his long kick upfield evaded everyone only for Wesolowski to drive home a superb 20-yard effort.
VIEWS FROM THE DRESSING ROOM
Oldham Athletic manager Paul Dickov told BBC Radio Manchester:
"They showed lots and lots of character, and credit to some of the football we played as, at times, we were excellent.
"We had a mad five minutes where we switched off and conceded two goals against a top team in this division.
"To come here and score three goals against a team like Preston, I'm slightly disappointed that we didn't win it."