John Crawford's injury-time goal proved to be just enough for Montrose to secure a victory at Peterhead in a topsy-turvy Third Division clash.
The Gable Endies went in ahead at the interval courtesy of an own goal from Ryan Strachan, who put through his own net following a goalmouth scramble with 15 minutes gone.
David McGowan extended the visitors' lead with 62 minutes played, curling home left-footed after good work from Terry Masson down the wing.
Strachan went someway to redeeming himself as he drove home from 18 yards to reduce the deficit with 17 minutes remaining.
But after a tense finale, Crawford clipped the ball into the top of the net deep into added time, before Martin Bavidge stabbed home at the other end to reduce the arrears but there was not enough time for the hosts to find a leveller.
Peterhead: Jellema, Donald, Scott Ross, MacDonald, McBain (Conway 82), David Ross (Bavidge 60), Redman, Strachan, Sharp (Wyness 67), McAllister, Beasley.Subs Not Used: Jarvie,Davidson.
Booked: Beasley, McAllister, Conway.
Goals: Strachan 74, Bavidge 90.
Montrose: Wood, Crighton, Cambell, Smart, Douglas Cameron, Young, Masson, Winter, Johnston, Boyle, McGowan (Crawford 80).Subs Not Used: Andrews,Pierce,Dimilta,McPhee.
Booked: Douglas Cameron, Young, Crawford.
Goals: Strachan 15 og, McGowan 62, Crawford 90.
Ref: Matt Northcroft