Ben Gordon struck an 83rd minute winner to give Alloa a 3-2 away win against fellow promotion hopefuls Forfar.
The visitors went ahead in the seventh minute thanks to Ryan McCord's penalty, after Derek Soutar upended Robert Thomson inside the area.
Just a minute later, Danny Denholm found the top corner with a header to level the scores.
Defender Jason Marr restored the Wasps' advantage with his first goal for the club, nodding Mark Docherty's corner into the back of the net after 22 minutes.
11 minutes from time, Denholm brought the Loons back level for the second time with a fine left-footed effort, his fifth goal of the campaign.
But Paul Hartley's men were not to be denied, and five minutes later Docherty again provided the service from a right-wing corner allowing Gordon to give the away side all three points.