Gavin Malin struck in either half as Forfar Athletic edged an enthralling game to defeat East Fife.
Forfar drew first blood after 20 minutes thanks to Malin, who unleashed an unstoppable 20-yard strike into the top corner.
But East Fife equalised a minute before the break in spectacular fashion themselves. Martyn Fotheringham was penalised for a foul and Robert Sloan produced a wonderful free-kick which found the bottom corner.
The home side restored their advantage just after half-time though, Malin's drive from outside the area finding the net.
East Fife levelled again after 79 minutes through Scott McBride's close-range header but Forfar soon regained the lead when Gavin Swankie swept in from six yards for his 13th goal of the season.
Forfar remain a point off a promotion play-off place but have a game in hand.
Forfar: Hill, McCulloch, Faeroe, Tulloch (Robertson 81), Iain Campbell, Hilson (Brown 76), Malin, Martyn Fotheringham (Kader 76), Denholm, Templeman, Swankie. Subs Not Used: Salmon, King.
Booked: Martyn Fotheringham, Tulloch.
Goals: Malin 20, 51, Swankie 82.
East Fife: Antell, Durie, Malcolm (Jamieson 85), Campbell, Sloan (Gormley 70), Robert Barr, Muir, Willis, McBride, Samuel, Keenan. Subs Not Used: Michael Brown, McCormack, Darren Smith.
Booked: Campbell, Durie, Keenan.
Goals: Sloan 45, McBride 80.
Ref: Gary Hilland