Charles King scored the winner for Forfar as they came from behind to beat Ayr in the fourth round of the Scottish Cup.
The hosts almost took the lead when Gavin Swankie's left-footed drive hit the post, but it was Ayr who drew first blood.
David Sinclair got on the end of an excellent cross from David Winters to tap in from close range and hand his side the early advantage.
Forfar came out of the blocks well in the second half and equalised through Willie Robertson who found the bottom left of the goal from 20 yards out.
The Loons then scored the winner in the 74th minute when King found the net from the edge of the area after good work from Christopher Templeman.
Sorry, we were unable to load match stats, please try again.