Forfar Athletic remained bottom of Scottish Division Two despite claiming all three points against Stenhousemuir.
Stenny took the lead on 42 minutes when Ross McMillan headed home Sean Dickson's corner.
But the visitors levelled a minute later, Chris Templeman nodding Nicky Low's cross into the net.
An own goal by Mark McCulloch gave the hosts the lead again in the 71st minute but Templeman slotted home a second equaliser.
And Forfar's Martyn Fotheringham drilled in a dramatic 90th-minute winner from inside the box.
Stenhousemuir: McCluskey, Lyle, Corrigan, McMillan, McKinlay, Ferguson, Campbell (Iain Thomson 66), McHale, Dickson (Lawson 84), Paul Quinn (Plenderleith 54), Kean. Subs Not Used: Brown, Love.
Goals: McMillan 42, McCulloch 71 og.
Forfar: McCallum, McCulloch, Bolocheweckyj, Shaughnessy, Tulloch (Fotheringham 76), Ross Campbell, Ross (Byers 77), Mowat (Motion 77), Low, Templeman, Hilson. Subs Not Used: Paterson, Wilson.
Goals: Templeman 43, 80, Fotheringham 90.
Ref: Des Roache