Ten-man St Mirren held off a fightback by Ross County to secure a Scottish Cup quarter-final tie away to Hearts.
Gary Teale drilled the ball home on 14 minutes after Steven Thompson headed down a David Barron cross.
Thompson was sent off eight minutes before the break after elbowing Johnny Flynn in the face.
But Nigel Hasselbaink fired the Buddies' second after 53 minutes and County were unable to build on Sam Morrow's header three minutes later.
County manager Derek Adams made six changes for the replay after the First Division leaders drew with Raith Rovers on Saturday, deciding to rest some players with his main focus being promotion to the top-flight.
Joe Malin, Jonny Flynn, Russell Duncan, Michael Gardyne, Rocco Quinn and Morrow all came in from the sidelines, while St Mirren made only one change as Hasselbaink replaced the cup-tied Dougie Imrie.
Morrow could only glance a header wide after Mark Corcoran got behind the Scottish Premier League side's defence to deliver a dangerous cross within a minute.
A couple of shots from Hasselbaink suggested that the Dutchman was in the mood before the Paisley side took the lead when Teale fired the ball into the corner of the net from 20 yards.
Hasselbaink was not far away with a rasping shot that just cleared the crossbar after he shook off a couple of markers.
However, County were beginning to press for an equaliser by the time Thompson was shown a straight red card for violent conduct.
The Dingwall side were seeing more of the ball against the 10 men, but they were finding the Saints defence a hard nut to crack.
Derek Adams Ross County manager
“We made six changes tonight to give some of our players a rest”
Saints threatened in the 50th minute, when a Teale cross was only partially cleared by Corcoran.
The ball fell for Jim Goodwin, who let fly at goal only for goalkeeper Malin to dive full length to his right to push the ball away.
St Mirren doubled their lead a couple of minutes later when Graham Carey cut in from the left and, instead of shooting himself, squared the ball for Hasselbaink to drill the ball past Malin at the far post.
County hit back when a Quinn free-kick from the left touchline was headed in off the underside of the crossbar and into the net by Morrow.
The goalscorer had another chance when a slack kick-out from Samson fell for Steven Craig, whose ball inside was scooped over the crossbar by the Irish striker.
Ross County manager Derek Adams : "We made six changes tonight to give some of our players a rest.
"We have an important league campaign to take care of and I was delighted with the players who came in and performed so well.
"Unfortunately, we didn't have enough to go through to the next round.
"We have eight games in 25 days, it's a lot of football. It's important we move on in our league campaign.
"I said before we didn't need a replay, but it was good the other players got a game tonight.
"They worked well and we were unfortunate to lose two, which from my point of view were bad, goals."
St Mirren manager Danny Lennon : "I thought from start to finish it was a very committed performance.
"We were up against it more when Steve Thompson was sent off, but the boys dug deep and it was a great win.
"We will look to take that type of performance into the next seven league games.
"This is a very difficult place to come. It was a challenge for us. They were on an 18-match unbeaten run and Celtic were the last team to beat them.
"They are a very good side and I'm sure the way Derek has got them playing they would be a very good addition to the SPL next season."
- 01 Malin
- 02 Miller
- 03 Morrison
- 04 Boyd
- 05 Flynn
- 06 Duncan
- 07 Craig
- 10 Quinn (Cooper - 83' )
- 11 Corcoran
- 08 Gardyne (Byrne - 83' )
- 09 Morrow
- 18 Fraser
- 16 Munro
- 15 Lawson
- 12 Byrne
- 14 Cooper
- 01 Samson
- 03 Barron
- 05 Mair Booked
- 14 McAusland
- 22 Tesselaar
- 06 Goodwin
- 10 McGowan
- 21 Teale
- 23 Carey Booked
- 09 Thomson Dismissed
- 11 Hasselbaink (Mooy - 69' )
- 12 Smith
- 02 van Zanten
- 37 Naismith
- 15 Mooy
- 08 Thompson
Live Text Commentary
Full Time The game is over, as the referee blows his whistle.90:00 +1:23
Gary Miller concedes a free kick for a foul on Marc McAusland. Free kick taken by Graham Carey.90:00 +0:30
Steven Craig sends in a cross, Jim Goodwin manages to make a clearance.89:32
The referee blows for offside. Direct free kick taken by Craig Samson.86:59
Free kick awarded for an unfair challenge on Graham Carey by Gary Miller. Craig Samson takes the free kick.86:26
Alex Cooper takes a shot. Save by Craig Samson.85:03
The ball is delivered by Mark Corcoran, Graham Carey makes a clearance.84:43
Jim Goodwin gives away a free kick for an unfair challenge on Sammy Morrow. Direct free kick taken by Gary Miller.84:15
Alex Cooper challenges Graham Carey unfairly and gives away a free kick. Jeroen Tesselaar restarts play with the free kick.83:37
Alex Cooper has an effort at goal from just outside the penalty box which goes wide of the left-hand post.82:19 Substitution
Substitution Alex Cooper replaces Rocco Quinn.82:19 Substitution
Substitution Michael Gardyne leaves the field to be replaced by Kurtis Byrne.82:09
David Barron produces a left-footed shot from long distance which goes wide right of the goal.81:04
Scott Morrison crosses the ball, Graham Carey makes a clearance.78:20
Michael Gardyne sends in a cross, save by Craig Samson.75:34
The ball is swung over by Rocco Quinn, clearance by Lee Mair.72:37
Jeroen Tesselaar gives away a free kick for an unfair challenge on Steven Craig. Joseph Malin takes the free kick.69:59
The assistant referee signals for offside against Sammy Morrow. Craig Samson takes the free kick.68:15
Graham Carey takes a shot. Joseph Malin makes a save.68:15 Substitution
Substitution Aaron Mooy on for Nigel Hasselbaink.
Handball decision goes against Jonathan Flynn.67:43
Rocco Quinn crosses the ball, blocked by Marc McAusland.66:53
Shot on goal by Sammy Morrow from just inside the area goes over the target.64:17
Corner from the right by-line taken by Mark Corcoran, Headed effort from inside the box by Jonathan Flynn misses to the right of the target.63:11
Mark Corcoran takes the inswinging corner, Graham Carey makes a clearance.62:34
Unfair challenge on Gary Miller by Gary Teale results in a free kick. Free kick crossed by Mark Corcoran, Lee Mair makes a clearance.60:16
Jim Goodwin fouled by Rocco Quinn, the ref awards a free kick. Free kick taken by Craig Samson.59:09
Effort from just outside the area by Mark Corcoran goes over the target.58:41
Scott Morrison crosses the ball in from the free kick, clearance made by Lee Mair.58:41 Booking
Booking Caution for Lee Mair.58:21
Lee Mair gives away a free kick for an unfair challenge on Michael Gardyne.57:30
The assistant referee signals for offside against Nigel Hasselbaink. Direct free kick taken by Joseph Malin.56:29
The offside flag is raised against Steven Craig. Craig Samson restarts play with the free kick.56:20
The ball is sent over by Gary Miller, Lee Mair makes a clearance.54:49
The assist for the goal came from Rocco Quinn.54:49 Goal scored
Goal! - Sammy Morrow - Ross Co 1 - 2 St Mirren Sammy Morrow finds the net with a headed goal from inside the six-yard box. Ross County 1-2 St Mirren.54:25
David Barron concedes a free kick for a foul on Mark Corcoran. Centre by Rocco Quinn,52:25
Assist on the goal came from Graham Carey.52:25 Goal scored
Goal! - Nigel Hasselbaink - Ross Co 0 - 2 St Mirren Nigel Hasselbaink fires in a goal from inside the area to the top left corner of the goal. Ross County 0-2 St Mirren.51:36
Unfair challenge on Michael Gardyne by Jim Goodwin results in a free kick. Scott Boyd takes the free kick.48:57
Jim Goodwin takes a shot. Save by Joseph Malin.48:53
Gary Teale produces a cross, Mark Corcoran manages to make a clearance.47:39
Steven Craig is penalised for a handball. Jeroen Tesselaar takes the free kick.46:29
Sammy Morrow gives away a free kick for an unfair challenge on Paul McGowan. Free kick taken by Craig Samson.45:01
The referee blows his whistle to start the second half.45:00 +0:08 Half time
Half Time The half-time whistle blows.42:38
Foul by Marc McAusland on Mark Corcoran, free kick awarded. The ball is delivered by Rocco Quinn, Shot by Mark Corcoran from deep inside the penalty area misses to the left of the goal.41:10
Paul McGowan gives away a free kick for an unfair challenge on Rocco Quinn. Scott Morrison produces a shot on goal direct from the free kick, save made by Craig Samson.41:06
Gary Miller produces a cross, clearance made by Marc McAusland.40:21
Nigel Hasselbaink is flagged offside by the assistant referee. Scott Boyd restarts play with the free kick.38:57
Free kick awarded for a foul by Steven Craig on Lee Mair. Craig Samson takes the free kick.38:13
Foul by Scott Morrison on Graham Carey, free kick awarded. The free kick is delivered left-footed by Graham Carey from right wing, Scott Morrison makes a clearance.37:07
Sammy Morrow challenges David Barron unfairly and gives away a free kick. David Barron takes the free kick.36:11 Dismissal
Dismissal Steven Thompson is shown a red card for violent conduct.34:02
The referee blows for offside against Nigel Hasselbaink. Scott Boyd takes the free kick.29:42
Unfair challenge on Steven Craig by Gary Teale results in a free kick. The free kick is swung in left-footed by Mark Corcoran, save by Craig Samson.27:38
The referee blows for offside. David Barron takes the direct free kick.25:48
Short corner taken by Rocco Quinn from the left by-line, clearance by David Barron.25:34
Scott Morrison delivers the ball, Marc McAusland manages to make a clearance.25:24
Steven Craig delivers the ball, Marc McAusland makes a clearance.24:41
The ball is delivered by Graham Carey, blocked by Gary Miller.23:40
Michael Gardyne produces a cross, blocked by Nigel Hasselbaink.21:41
Effort from just outside the box by Nigel Hasselbaink goes over the bar.20:02
Inswinging corner taken from the left by-line by Rocco Quinn.19:12 Booking
Booking The referee cautions Graham Carey for unsporting behaviour.17:45
Steven Thompson challenges Jonathan Flynn unfairly and gives away a free kick. Scott Morrison takes the free kick.16:17
Inswinging corner taken from the left by-line by Rocco Quinn, clearance by Steven Thompson.15:50
Unfair challenge on Gary Miller by Steven Thompson results in a free kick. Scott Boyd takes the free kick.15:01
Free kick awarded for an unfair challenge on Paul McGowan by Mark Corcoran. Free kick crossed right-footed by Gary Teale, Russell Duncan makes a clearance.13:41
Assist by Steven Thompson.13:41 Goal scored
Goal! - Gary Teale - Ross Co 0 - 1 St Mirren A goal is scored by Gary Teale from just outside the area to the bottom left corner of the goal. Ross County 0-1 St Mirren.13:09
Graham Carey sends in a cross, clearance by Scott Boyd.12:27
Mark Corcoran concedes a free kick for a foul on Graham Carey. Craig Samson takes the direct free kick.9:29
Nigel Hasselbaink takes a shot. Joseph Malin makes a save.7:27
Inswinging corner taken right-footed by Gary Teale played to the near post, Jonathan Flynn manages to make a clearance.6:37
Free kick awarded for an unfair challenge on Gary Miller by Graham Carey. Gary Miller restarts play with the free kick.5:57
Free kick awarded for an unfair challenge on Jeroen Tesselaar by Steven Craig. Jeroen Tesselaar restarts play with the free kick.4:56
The ball is delivered by Gary Teale, blocked by Scott Morrison.3:20
The ball is swung over by Michael Gardyne, clearance by David Barron.2:05
The referee blows for offside. Scott Morrison takes the direct free kick.0:30
The ball is swung over by Mark Corcoran, Headed effort on goal by Sammy Morrow from inside the penalty box misses to the right of the target.0:00
The match begins.
Live data and text provided by our data suppliers