Match ends, Ross County 1, St. Mirren 2.
- Martin Woods opens scoring with penalty
- Stephen Mallan equalises before half-time
- Mark Brown sent off late on
- Steven Thompson scores winning penalty
- Ross County three points clear of Motherwell
Steven Thompson's last-minute penalty earned relegated St Mirren a win that throws open the race to avoid the play-offs.
County went ahead when Liam Boyce was tripped in the box and Martin Woods scored from the penalty spot.
Stephen Mallan fired Saints level with a deflected shot from distance.
And Mark Brown was sent off for fouling Lewis Morgan before Thompson scored low into the corner. It leaves County three points ahead of Motherwell, in 11th.
It was a result few observers would have predicted but St Mirren deserve real credit for a resilient display following confirmation of their relegation on Friday night, when Motherwell beat Kilmarnock.
Boyce went close after making something of deliveries from Marcus Fraser, but failed to hit the target, and Woods was first to test Mark Ridgers in goal after a free-kick.
County's Tony Dingwall tested the keeper from distance before the breakthrough arrived. A swift turn in the box by Liam Boyce brought a foul by Sean Kelly.
And Woods superbly fired the ball high into the top corner from the penalty spot.
A minute later County should have gone further ahead. Boyce drilled a ball across the six-yard box, Craig Curran connected strongly but Jason Naismith produced a wonderful sliding challenge to divert the danger.
Boyce failed to hit the target when he really should have, and what followed shocked the entire stadium and turned this game into an intriguing contest.
With the ball at his feet in a central area, Mallon struck a fierce shot that deflected off the stooping Scott Boyd and looped away from Brown into the corner of the goal.
Ross County seemed reinvigorated after half-time and created chance after chance as they tried to move closer to retaining their Premiership safety.
Dingwall fired narrowly wide then Jackson Irvine's header connected with a defender, but appeals for a penalty were swiftly rebuffed by referee Steven Maclean.
Irvine became increasingly threatening from set pieces in particular, the midfielder narrowly sending two headers over the bar.
Woods, Dingwall and Michael Gardyne threatened more and it seemed inevitable that County would be rewarded.
The game ended in a dramatic way. Substitute Morgan outpaced Marcus Fraser and as he broke into the box he was caught by goalkeeper Brown, who was red-carded.
County had already used their three substitutes and one of those, striker Darvydas Sernas, put on the keeper's gloves as Thompson expertly rolled the ball into the corner from the penalty spot.
It leaves the Dingwall side perilously close to a play-off with two vitally important games to follow.
- 21BrownBooked at 90mins
- 44FraserBooked at 80mins
- 30DingwallSubstituted forDe Vitaat 80'minutes
- 36IrvineBooked at 82mins
- 16BoyceSubstituted forSernasat 81'minutes
- 11CurranSubstituted forCardleat 84'minutes
- 24De Vita
- 31MallanSubstituted forCuddihyat 72'minutes
- 14ReillyBooked at 20mins
- 11WyldeSubstituted forMorganat 80'minutes
- 8GowSubstituted forSadlierat 83'minutes
- Steven McLean
- Shots on Target
Second Half ends, Ross County 1, St. Mirren 2.
Goal! Ross County 1, St. Mirren 2. Steven Thompson (St. Mirren) converts the penalty with a right footed shot to the bottom left corner.
Mark Brown (Ross County) is shown the red card for a bad foul.
Penalty St. Mirren. Lewis Morgan draws a foul in the penalty area.
Penalty conceded by Mark Brown (Ross County) after a foul in the penalty area.
Paul Quinn (Ross County) hits the bar with a header from the centre of the box following a set piece situation.
Joe Cardle (Ross County) wins a free kick on the right wing.
Foul by Jeroen Tesselaar (St. Mirren).
Scott Boyd (Ross County) wins a free kick in the defensive half.
Foul by Steven Thompson (St. Mirren).
Substitution, Ross County. Joe Cardle replaces Craig Curran.
Foul by Paul Quinn (Ross County).
Steven Thompson (St. Mirren) wins a free kick in the defensive half.
Substitution, St. Mirren. Kieran Sadlier replaces Alan Gow.
Jackson Irvine (Ross County) is shown the yellow card.
Foul by Jackson Irvine (Ross County).
Barry Cuddihy (St. Mirren) wins a free kick in the attacking half.
Substitution, Ross County. Darvydas Sernas replaces Liam Boyce.
Marcus Fraser (Ross County) is shown the yellow card.