Luciano Becchio scored a dramatic late winner as Leeds came from two goals down to stun Doncaster in front of new boss Neil Warnock at Elland Road.
The hosts were set for a fourth loss in five games when Mamadou Bagayoko fired into the bottom corner and doubled the lead with a close-range header.
But they reduced the deficit through Andros Townsend's left-footed drive past David Button.
Adam Clayton lashed in before Becchio's heroics in the ninth added minute.
The prolonged stoppage time was partly the result of the lengthy treatment required for Doncaster's Tommy Spurr and Leeds substitute Robbie Rogers following a nasty clash of heads.
It was the perfect afternoon for Warnock, who was confirmed as successor to Simon Grayson, who signed a contract until the end of the 2012/13 season following a meeting with owner Ken Bates in Monaco on Friday.
Warnock spoke to the players before the game and again at half-time as Neil Redfearn's final match as caretaker boss ended on a high.
But the fixture started in horrible fashion for the home side when Doncaster deservedly went ahead.
James Hayter found himself through on Andy Lonergan's goal, and although the keeper smothered his effort he did not hold on to the ball and Bagayoko slotted home.
Bagayoko made it 2-0 after the break, tapping into an open goal for a second time after being set up by El-Hadj Diouf and Spurr.
The goal produced a furious response from the Leeds fans, but they were immediately silenced when Townsend struck a crisp drive beyond Button.
Leeds were now on top and they equalised when a Robert Snodgrass cross from the left was volleyed home by Clayton.
That was not the end of the drama and Leeds clinched an unlikely 99th-minute victory when Becchio tucked home a loose ball from the edge of the box.
To add to the drama, there were scuffles in the tunnel after the final whistle as emotions ran high.
Doncaster remain bottom having failed to win any of their last five league games, and none in eight on the road.
New Leeds manager Neil Warnock on the possibility of reaching the play-offs:
"I think anything can happen. I think we're a long way from being a top side, if I'm honest, but the lads have got spirit and they showed that today to come back from 2-0 down.
"So (there are) 14 games (to play), everybody's trying to help everybody else aren't they, because no-one's running away with it, so you never say never do you?"
- 01 Lonergan
- 04 Bruce
- 22 Lees
- 28 White
- 48 O'Dea
- 15 Clayton
- 16 Pugh Booked (Brown - 60' )
- 17 Townsend (Rogers - 79' )
- 10 Becchio
- 23 Snodgrass Booked
- 44 McCormack
- 24 Taylor
- 02 Connolly
- 08 Brown
- 06 Rogers (Forssell - 90' )
- 18 Forssell
- 47 Button
- 11 Lockwood
- 14 Spurr Booked (O'Connor - 90' )
- 21 Hird Booked
- 39 Chimbonda
- 08 Stock Booked
- 17 Barnes Booked
- 18 Gillett
- 12 Hayter (Robert - 89' )
- 19 Diouf
- 45 Bamogo (Bagayoko - 25' )
- 02 O'Connor
- 04 Martis
- 16 Oster
- 22 Robert
- 49 Bagayoko
Live Text Commentary
Full Time The final whistle is blown by the referee.90:00 +8:49 Goal scored
Goal! - Luciano Becchio - Leeds 3 - 2 Doncaster Luciano Becchio scores a goal from just outside the penalty area to the top left corner of the goal. Leeds 3-2 Doncaster.90:00 +7:51
Free kick awarded for an unfair challenge on Giles Barnes by Adam Clayton. Sam Hird restarts play with the free kick.90:00 +7:01
Outswinging corner taken by El-Hadji Diouf, Tom Lees manages to make a clearance. Fabien Robert has an effort at goal from outside the penalty area missing to the wide left of the goal.90:00 +6:22
Unfair challenge on Giles Barnes by Robert Snodgrass results in a free kick. James O'Connor takes the free kick.89:24
Robert Snodgrass crosses the ball from the free kick left-footed from right channel, clearance by El-Hadji Diouf.89:24 Substitution
Substitution Mikael Forssell replaces Robbie Rogers.89:24 Substitution
Substitution James O'Connor is brought on as a substitute for Tommy Spurr.89:24
Free kick awarded for a foul by Tommy Spurr on Robbie Rogers.88:56
The assistant referee flags for offside against Mamadou Bagayoko. Andy Lonergan takes the indirect free kick.88:42
Luciano Becchio challenges Pascal Chimbonda unfairly and gives away a free kick. David Button takes the direct free kick.88:18 Substitution
Substitution Fabien Robert comes on in place of James Hayter.86:08
The ball is sent over by Robert Snodgrass.85:16
Andy Lonergan takes the direct free kick.85:16 Booking
Booking Tommy Spurr goes into the book for dissent.85:10
Foul by Tommy Spurr on Michael Brown, free kick awarded.84:30
Free kick awarded for a foul by Darren O'Dea on Mamadou Bagayoko. El-Hadji Diouf crosses the ball from the free kick right-footed from right channel, Darren O'Dea makes a clearance.83:29
Effort from deep inside the area by James Hayter misses to the right of the target.82:54
David Button takes the direct free kick.82:54 Booking
Booking Robert Snodgrass is booked.
Ross McCormack crosses the ball in from the free kick, free kick awarded for a foul by Robert Snodgrass on Mamadou Bagayoko.82:11 Booking
Booking Brian Stock goes into the book.82:06
Brian Stock gives away a free kick for an unfair challenge on Robert Snodgrass.79:52
The assist for the goal came from Robert Snodgrass.79:52 Goal scored
Goal! - Adam Clayton - Leeds 2 - 2 Doncaster A goal is scored by Adam Clayton from deep inside the penalty area to the top left corner of the goal. Leeds 2-2 Doncaster.79:18
Corner taken left-footed by Robert Snodgrass to the near post, clearance by El-Hadji Diouf.78:03 Substitution
Substitution Andros Townsend leaves the field to be replaced by Robbie Rogers.75:00
Effort from outside the penalty box by Simon Gillett goes wide left of the goal.72:02
Robert Snodgrass concedes a free kick for a foul on Brian Stock. Sam Hird takes the free kick.70:34
Luciano Becchio is penalised for a handball. David Button takes the direct free kick.69:33
Andros Townsend decides to take the corner short.67:30
Giles Barnes produces a left-footed shot from long distance which goes wide right of the goal.63:35
Luciano Becchio takes a shot. Save by David Button.62:28
Andros Townsend takes a shot from 35 yards and missed to the right of the target.61:13
Mamadou Bagayoko takes a shot. Save by Andy Lonergan.59:03 Substitution
Substitution (Leeds) makes a substitution, with Michael Brown coming on for Danny Pugh.57:56
Corner taken by Robert Snodgrass from the left by-line, clearance by Sam Hird.57:43
Unfair challenge on Luciano Becchio by Sam Hird results in a free kick. Andros Townsend restarts play with the free kick.56:33
Giles Barnes fouled by Danny Pugh, the ref awards a free kick. El-Hadji Diouf delivers the ball from the free kick right-footed from right channel, Alex Bruce manages to make a clearance.55:28
Foul by Ross McCormack on Mamadou Bagayoko, free kick awarded. Free kick crossed right-footed by Sam Hird from right channel, clearance made by Darren O'Dea.55:09
Giles Barnes takes a shot. Save by Andy Lonergan.54:18 Goal scored
Goal! - Andros Townsend - Leeds 1 - 2 Doncaster A goal is scored by Andros Townsend from the edge of the penalty area to the bottom right corner of the goal. Leeds 1-2 Doncaster.53:08
Assist by El-Hadji Diouf.53:08 Goal scored
Goal! - Mamadou Bagayoko - Leeds 0 - 2 Doncaster Mamadou Bagayoko scores a headed goal from close in. Leeds 0-2 Doncaster.51:56
Shot from outside the box by Tommy Spurr misses to the left of the goal.51:14
Outswinging corner taken by El-Hadji Diouf from the right by-line.49:57
Header on goal by Luciano Becchio from just inside the area goes over the target.48:47
James Hayter produces a right-footed shot from just inside the penalty area and hits the post.47:31
Robert Snodgrass gives away a free kick for an unfair challenge on Tommy Spurr. David Button restarts play with the free kick.45:01
The match restarts for the second half.45:00 +2:04 Half time
Half Time The match has reached half-time.45:00 +0:13
Free kick awarded for an unfair challenge on Danny Pugh by Brian Stock. Direct free kick taken by Darren O'Dea.41:12
Andros Townsend takes a shot. Sam Hird gets a block in.39:42
Foul by Adam Clayton on Brian Stock, free kick awarded. Direct free kick taken by David Button.39:11
Unfair challenge on Robert Snodgrass by Simon Gillett results in a free kick. Andy Lonergan takes the direct free kick.38:39
David Button restarts play with the free kick.38:39 Booking
Booking Danny Pugh goes into the referee's book for unsporting behaviour.38:25
Giles Barnes fouled by Danny Pugh, the ref awards a free kick.37:11
Corner taken left-footed by Robert Snodgrass from the left by-line, clearance made by Adam Lockwood.36:34
Free kick awarded for an unfair challenge on Andros Townsend by Pascal Chimbonda. Ross McCormack delivers the ball from the free kick right-footed from left wing, Pascal Chimbonda makes a clearance.34:29
Pascal Chimbonda fouled by Andros Townsend, the ref awards a free kick. David Button takes the free kick.31:24
The assist for the goal came from James Hayter.31:24 Goal scored
Goal! - Mamadou Bagayoko - Leeds 0 - 1 Doncaster Mamadou Bagayoko finds the back of the net with a goal from the edge of the area to the bottom left corner of the goal. Leeds 0-1 Doncaster.31:20
James Hayter takes a shot. Save by Andy Lonergan.30:44
The offside flag is raised against Robert Snodgrass. David Button takes the indirect free kick.29:59
Tom Lees fouled by Tommy Spurr, the ref awards a free kick. Direct free kick taken by Andy Lonergan.28:07
Inswinging corner taken right-footed by Ross McCormack, Header from deep inside the penalty area by Alex Bruce goes harmlessly over the crossbar.27:44
Inswinging corner taken left-footed by Robert Snodgrass from the right by-line, El-Hadji Diouf manages to make a clearance.27:15
Inswinging corner taken from the right by-line by Robert Snodgrass.26:39
Free kick crossed right-footed by Adam Clayton, clearance by Adam Lockwood.26:39 Booking
Booking Sam Hird shown a yellow card.26:29
Free kick awarded for an unfair challenge on Andros Townsend by Sam Hird.25:43
El-Hadji Diouf takes the outswinging corner, Robert Snodgrass makes a clearance.23:53
Outswinging corner taken left-footed by Robert Snodgrass from the left by-line, clearance made by Adam Lockwood. Outswinging corner taken from the left by-line by Robert Snodgrass, Header by Tom Lees from deep inside the penalty area misses to the right of the target.23:53 Substitution
Substitution Habib Bamogo goes off and Mamadou Bagayoko comes on.23:53
Aidan White takes a shot. Sam Hird gets a block in.19:17
Brian Stock is penalised for handball and concedes a free kick. Robert Snodgrass crosses the ball from the free kick left-footed from right channel, Sam Hird makes a clearance.17:00
Tom Lees restarts play with the free kick.17:00 Booking
Booking Giles Barnes receives a caution.16:50
Unfair challenge on Aidan White by Giles Barnes results in a free kick.14:54
Luciano Becchio concedes a free kick for a foul on Pascal Chimbonda. Free kick crossed right-footed by El-Hadji Diouf, save by Andy Lonergan.13:40
Corner taken by Robert Snodgrass, clearance made by Adam Lockwood.12:17
Luciano Becchio gives away a free kick for an unfair challenge on Sam Hird. David Button takes the free kick.11:33
Robert Snodgrass takes a outswinging corner from the left by-line played to the near post, Simon Gillett makes a clearance.11:21
Luciano Becchio takes a shot. David Button makes a save.10:34
Free kick awarded for a foul by Simon Gillett on Adam Clayton. Direct free kick taken by Andy Lonergan.9:51
Shot by Habib Bamogo from deep inside the box hits the post.9:02
Danny Pugh challenges Brian Stock unfairly and gives away a free kick. Free kick taken by Tommy Spurr.7:54
Outswinging corner taken left-footed by Robert Snodgrass, clearance by Adam Lockwood.4:49
Luciano Becchio is caught offside. David Button takes the indirect free kick.3:40
Free kick awarded for a foul by Andros Townsend on Simon Gillett. Direct free kick taken by Sam Hird.2:10
James Hayter has shot on goal from just outside the box which goes wide of the right-hand upright.1:35
Corner taken right-footed by El-Hadji Diouf from the left by-line, save made by Andy Lonergan.0:40
Unfair challenge on Simon Gillett by Danny Pugh results in a free kick. The free kick is swung in right-footed by Giles Barnes, Darren O'Dea makes a clearance.0:00
The game kicks-off.
Live data and text provided by our data suppliers