Dundee United scored three times in the last 11 minutes to beat St Mirren 3-2 at Tannadice and move up to fourth place in the Scottish Premiership.
Goals from Paul McGowan and Steven Thompson had Saints in control but substitutes Brian Graham and Stuart Armstrong levelled matters and Nadir Ciftci struck in stoppage time.
Partick Thistle earned a vital 3-1 home win over Hibernian thanks to goals from Chris Erskine, Lee Mair and Kallum Higginbotham. Duncan Watmore scored for Hibs.
In the day's late game, Melvin De Leeuw got the only goal in 29 minutes as Ross County defeated St Johnstone 1-0 at McDiarmid Park.