St Mirren come out on top in the battle of the bottom two
St Mirren gave their survival hopes a massive shot in the arm with a 2-0 victory at relegation rivals Ayr.
In the battle of the bottom two, the visitors should have gone ahead in the 27th minute when Cameron Smith's deflected shot fell to John Sutton, who turned and scooped the ball over the crossbar.
Stevie Mallan later tested Ayr goalkeeper Greg Fleming from 25 yards.
St Mirren broke the deadlock in the 51st minute when Mallan released Sutton, who rounded Fleming to score his 12th goal of the season.
The Buddies nearly doubled their lead on the hour mark, but Smith's shot on the turn was pushed onto the post before Kyle Magennis clipped the bar with a deflected shot.
However, Lewis Morgan smashed the ball home from the edge of the area in the 81st minute to secure a win which leaves Saints five points behind Ayr.