An inspired fightback from a goal down earned Forfar a 3-1 home win over Queen of the South to lift them out of the Second Division relegation zone on goal difference.
The visitors dominated the first half and took a deserved lead after 31 minutes when Peter Weatherson pounced on a mistake by Ian Good and shot low into the back of the net.
Forfar improved after the interval and levelled the scores on the hour mark when Barry Sellars hit a fierce free-kick through the defensive wall.
Substitute Willie Stewart scored with his first touch after 78 minutes before Ian Ferguson clinched the points with a glancing header three minutes later.