Swindon scored twice in the last four minutes to stun Coventry City and earn victory for new Robins boss Kevin MacDonald in his first game in charge.
Franck Moussa opened the scoring for Coventry after just 64 seconds, firing low into the bottom corner.
Swindon dominated the rest of the game, only to waste chances, Andy Williams going closest when he hit the post.
But Williams finally scrambled home an 86th-minute leveller before Darren Ward headed home a last-minute winner.
Despite the tonic of earning their third straight away win at Bournemouth in midweek, managerless Coventry's fourth straight home defeat now leaves them seven points adrift of the play-offs.
Swindon's last visit to Coventry was in their Premiership days, when they drew 1-1 at Highfield Road in January 1994, Andy Mutch scoring in the last minute to cancel out Roy Wegerle's opener for the home side.
On a day when the top three all won, Swindon's first victory in three games leaves them still in third, two points behind second-placed Sheffield United.
But they had only themselves to blame for leaving it so late, Williams missing a hat-trick of first-half chances.
The 10-goal striker, Swindon's second top scorer, dragged the ball into the side netting when one-on-one on the half-hour mark before hitting the post from an identical situation seven minutes later and then seeing his follow-up effort tipped over the crossbar.
Only brave blocks from Coventry pair Nathan Cameron and Aaron Martin kept Swindon out until four minutes from time when substitute Adam Rooney struck the post after following up his own shot from 10 yards, only for Williams to pounce on the loose ball.
And Ward then climbed to head home to earn all three points for MacDonald, appointed as successor to Paolo Di Canio on Thursday.
VIEW FROM THE DRESSING ROOM
Coventry caretaker manager Lee Carsley told BBC Coventry and Warwickshire:
"In too many areas we were second best. Unfortunately we just didn't have enough today.
"We didn't pass it well enough. We didn't play well enough to warrant getting anything out of the game. We didn't have that quality.
"But it's still disappointing the way we've conceded the goals. The amount of games where we're 1-0 up and just need a bit of mental strength to see it through.
"There are a lot of good games to go, a lot of twists and turns to come. But it's important we sort out our home form. It's something we're desperate to put right."
New Swindon Town manager Kevin MacDonald told BBC Wiltshire:
"It was a great performance and probably deserved in the end.
"I'm delighted and I thought they played some very good football at times.
"The way the players reacted was a testimony to how [caretaker-managers] Tommy Miller and Darren Ward had done for them. I thought the two of them were outstanding, as the whole team were.
"I thought the winning goal was fantastic for Darren. I think it released a lot of pressure that he'd been under."
- 01 Murphy Booked
- 03 Dickinson
- 05 Cameron Booked
- 21 Christie
- 35 Martin
- 08 Baker
- 12 Jennings Booked
- 32 Moussa Booked (McDonald - 89' )
- 38 Bailey
- 11 McSheffrey (Bell - 80' )
- 15 Clarke
- 13 Dunn
- 02 Clarke
- 25 Edjenguele
- 04 Thomas
- 07 Bell
- 10 Fleck
- 09 McDonald
- 01 Foderingham
- 03 McEveley
- 04 Flint
- 15 Thompson Booked
- 22 Ward
- 08 Ferry (Rooney - 66' )
- 11 Roberts (De Vita - 82' )
- 12 McCormack
- 18 Miller
- 09 Collins (Rooney - 72' )
- 16 Williams
- 30 Bedwell
- 05 Devera
- 06 Navarro
- 07 Rooney
- 19 Thompson
- 23 De Vita
- 28 Rooney
Live Text Commentary
Full Time The referee brings the game to a close.90:00 +2:21
Luke Rooney is caught offside. Free kick taken by Joe Murphy.90:00 +2:05
Luke Rooney decides to take a short corner.90:00 +1:38
Adam Rooney takes a shot. Blocked by Aaron Martin.90:00 +1:13 Booking
Booking Steven Jennings is cautioned by the ref for dissent.89:44
Luke Rooney provided the assist for the goal.89:44 Goal scored
Goal! - Darren Ward - Coventry 1 - 2 Swindon Darren Ward scores a headed goal from close in. Coventry 1-2 Swindon.89:24
Corner taken by Luke Rooney,88:53
Tommy Miller crosses the ball, Cyrus Christie makes a clearance.88:20 Substitution
Substitution Cody McDonald on for Franck Moussa.87:13
Alan McCormack delivers the ball from the free kick right-footed from right wing.87:13 Booking
Booking Booking for Franck Moussa.87:02
Foul by Franck Moussa on Nathan Thompson, free kick awarded.85:13 Goal scored
Goal! - Andy Williams - Coventry 1 - 1 Swindon Andy Williams grabs a goal from close range to the bottom left corner of the goal. Coventry 1-1 Swindon.84:28
Adam Rooney takes a shot. Save made by Joe Murphy.83:24
The ball is crossed by Carl Baker.82:38
Darren Ward gives away a free kick for an unfair challenge on Leon Clarke. Direct free kick taken by Carl Dickinson.81:48 Booking
Booking Joe Murphy goes into the referee's book for time wasting.81:18 Substitution
Substitution Raffaele De Vita on for Gary Roberts.80:56
Effort on goal by Luke Rooney from outside the penalty box goes harmlessly over the bar.
Substitution David Bell comes on in place of Gary McSheffrey.78:38
Floated corner taken right-footed by Luke Rooney, Aden Flint produces a headed effort from deep inside the six-yard box which goes wide of the right-hand upright.78:24
The ball is sent over by Luke Rooney, blocked by Franck Moussa.78:03
Carl Baker gives away a free kick for an unfair challenge on Luke Rooney. Direct free kick taken by Alan McCormack.76:47
Leon Clarke is caught offside. Wes Foderingham restarts play with the free kick.76:06
Andy Williams is flagged offside by the assistant referee. Cyrus Christie restarts play with the free kick.74:58
Short corner taken by Gary Roberts.74:51
The ball is crossed by Luke Rooney, clearance made by Aaron Martin.73:18
The referee blows for offside against Aden Flint. Indirect free kick taken by Joe Murphy.72:09
Foul by Nathan Cameron on Andy Williams, free kick awarded. Gary Roberts crosses the ball in from the free kick.71:42 Substitution
Substitution Adam Rooney joins the action as a substitute, replacing James Collins.71:18
The referee blows for offside against James Collins. Free kick taken by Joe Murphy.71:09
A cross is delivered by Nathan Thompson.70:34
Luke Rooney fouled by Carl Baker, the ref awards a free kick. The free kick is delivered right-footed by Alan McCormack from left wing.69:56
Corner taken by Gary Roberts, Aaron Martin manages to make a clearance.69:34
Tommy Miller takes a shot. Blocked by Carl Dickinson.69:03
Gary Roberts takes a shot. Nathan Cameron gets a block in.68:29
Luke Rooney takes a shot.67:42
Tommy Miller takes the free kick.67:42 Booking
Booking Nathan Cameron goes into the referee's book.67:35
Free kick awarded for a foul by Nathan Cameron on Andy Williams.67:06
Gary McSheffrey takes a inswinging corner from the right by-line played to the near post.66:23
Carl Baker crosses the ball, Leon Clarke takes a shot. Save by Wes Foderingham.65:59 Substitution
Substitution Luke Rooney is brought on as a substitute for Simon Ferry.62:59
Corner from the right by-line taken by Gary McSheffrey, Wes Foderingham makes a save.62:11
Corner taken by Gary Roberts from the right by-line to the near post, clearance made by Carl Baker.61:57
The ball is swung over by James Collins, Nathan Cameron gets a block in.61:29
Floated corner taken from the left by-line by Gary Roberts.61:09
Leon Clarke concedes a free kick for a foul on Alan McCormack. Tommy Miller restarts play with the free kick.60:08
Centre by Carl Dickinson, Aden Flint manages to make a clearance.58:39
Cyrus Christie crosses the ball.54:48
Corner taken left-footed by Gary Roberts from the right by-line, clearance made by Aaron Martin.54:19
Alan McCormack takes a shot. Save made by Joe Murphy.53:43
Gary Roberts delivers the ball, Cyrus Christie gets a block in.52:48
The ball is swung over by Andy Williams, blocked by Aaron Martin.52:03
Handball by Cyrus Christie. Wes Foderingham takes the free kick.51:04
The ball is crossed by Nathan Thompson.49:42
Cyrus Christie crosses the ball, Aden Flint makes a clearance.46:46
Unfair challenge on Nathan Cameron by Andy Williams results in a free kick. Direct free kick taken by Joe Murphy.45:01
The second half has started.45:00 +2:09 Half time
Half Time The referee blows for half time.45:00 +1:31
Corner taken left-footed by Gary McSheffrey, clearance by Aden Flint.45:00 +1:22
Carl Baker produces a cross, blocked by Jay McEveley.45:00 +0:32
Gary Roberts concedes a free kick for a foul on Franck Moussa. Joe Murphy takes the direct free kick.41:03
Carl Baker takes the inswinging corner, Header from close in by Leon Clarke misses to the right of the target.40:57
The ball is swung over by Gary McSheffrey, clearance by Aden Flint.39:54
Effort from outside the penalty area by Carl Dickinson goes wide left of the goal.39:46
The ball is swung over by Cyrus Christie, clearance made by Aden Flint.38:42
Free kick awarded for a foul by Steven Jennings on Andy Williams. Direct effort from the free kick comes in from Gary Roberts, Joe Murphy makes a save.37:52
Gary Roberts produces a left-footed shot from just outside the box that goes wide right of the goal.37:20
Corner from right by-line taken by Gary Roberts.36:55
Andy Williams takes a shot. Nathan Cameron gets a block in.36:30
Effort from inside the penalty box by Andy Williams hits the post.34:41
Franck Moussa fouled by Gary Roberts, the ref awards a free kick. Free kick crossed right-footed by Carl Baker.33:57
The ball is crossed by Gary McSheffrey, save by Wes Foderingham.28:46
Effort from the edge of the box by Andy Williams goes wide of the left-hand post.28:30
Centre by Jay McEveley, clearance by Carl Dickinson.27:52
The ball is crossed by Nathan Thompson, Aden Flint takes a shot.27:31
Gary Roberts takes a short corner.27:12
The ball is sent over by James Collins, Carl Dickinson gets a block in.26:35
Free kick awarded for a foul by James Bailey on Andy Williams. Jay McEveley crosses the ball in from the free kick.24:28
The ball is swung over by Carl Dickinson, clearance made by Aden Flint.23:24
Alan McCormack gives away a free kick for an unfair challenge on Franck Moussa. Gary McSheffrey crosses the ball from the free kick left-footed from right channel, Aden Flint makes a clearance.22:42
Centre by Jay McEveley.20:32
Free kick awarded for an unfair challenge on Nathan Cameron by James Collins. Joe Murphy takes the free kick.19:43
Simon Ferry crosses the ball, Carl Baker gets a block in.18:36
Jay McEveley produces a cross, save by Joe Murphy.18:05
Centre by Jay McEveley, Aaron Martin manages to make a clearance.17:34
Gary Roberts takes a outswinging corner from the left by-line to the near post.17:08
Simon Ferry takes a shot. Save made by Joe Murphy.16:13
James Collins is penalised for handball and concedes a free kick. Direct free kick taken by Carl Dickinson.15:37
A cross is delivered by Carl Baker.14:45
Andy Williams crosses the ball.13:52
A cross is delivered by James Collins, Aaron Martin makes a clearance.11:44
Gary McSheffrey challenges James Collins unfairly and gives away a free kick. Wes Foderingham restarts play with the free kick.10:54
Free kick crossed by Carl Baker, clearance made by Darren Ward.10:54 Booking
Booking Nathan Thompson goes into the referee's book for unsporting behaviour.10:43
Foul by Nathan Thompson on Gary McSheffrey, free kick awarded.9:42
Gary Roberts gives away a free kick for an unfair challenge on Carl Baker. Joe Murphy restarts play with the free kick.8:51
Steven Jennings concedes a free kick for a foul on Gary Roberts. Direct free kick taken by Jay McEveley.7:47
Unfair challenge on Nathan Thompson by Carl Dickinson results in a free kick. Nathan Thompson crosses the ball, Andy Williams takes a shot. Save made by Joe Murphy.7:12
The referee blows for offside against James Collins. Free kick taken by Cyrus Christie.5:41
A cross is delivered by Gary Roberts.5:10
Corner taken short by Gary Roberts.4:21
Foul by Carl Baker on Gary Roberts, free kick awarded. The free kick is delivered right-footed by Alan McCormack from left wing, Leon Clarke manages to make a clearance.1:15
Assist on the goal came from Gary McSheffrey.1:15 Goal scored
Goal! - Franck Moussa - Coventry 1 - 0 Swindon A goal is scored by Franck Moussa from just inside the penalty area to the bottom right corner of the goal. Coventry 1-0 Swindon.0:15
Inswinging corner taken by Gary Roberts.0:00
The ref blows the whistle to start the match.
Live data and text provided by our data suppliers