Luke Ayling scored an injury-time winner as Leeds came back from two goals down to beat 10-man Wolves in a pulsating encounter at Molineux and move seven points clear of the relegation zone.
A bizarre, bruising and breathless Premier League contest was turned on its head by Raul Jimenez's red card eight minutes into the second half.
At that point, Wolves were cruising, ahead in the game thanks to Jonny's first goal since July 2020 and a superb effort from Francisco Trincao in the 11th minute of first-half stoppage time - and facing a side forced into three injury-related first-half substitutions.
But when Jimenez, who had already been booked, collided with Illan Meslier chasing a 50-50 ball, referee Kevin Friend decided the Mexican was at fault and produced a second yellow card.
The Leeds keeper could not continue and became the fourth visiting player to be replaced because of injury, joining the the only recently returned Patrick Bamford on the bench.
Amid the chaos, Wolves completely lost their way. Jack Harrison turned home the loose ball after Ayling had first struck a post to make it 2-1, then had the rebound cleared off the line.
And three minutes later, after a Dan James effort had come back off the woodwork, Rodrigo's shot flew in as Conor Coady tried to clear off the line.
Then, just as eight minutes of injury time was being signalled, Ayling reacted quickest as the ball bounced on the edge of the six-yard box and smashed it home before being mobbed by ecstatic team-mates.
The incident-packed game also included a protestor attempting to tie themselves to the Wolves goal when the ball was at the other end of the pitch in the second half.
Unlike at Everton on Thursday, this time the stewards reacted quickly enough and dragged the culprit away.
Leeds triumph amid the tension
Rodrigo scored for the second game running as Leeds fought back in thrilling style at MolineuxThe desire for victory was seen in the melee on the touchline that followed Leeds' winner.
Both sets of coaching staff got themselves in a push and shove, with Leeds midfielder Kalvin Phillips and Wolves defender Marcal continuing the verbals after order had been restored.
Phillips had run across the pitch to celebrate Ayling's winner and was the only one pumped up as proceedings unfolded.
By the end, Wolves coach Bruno Lage was reacting with fury at every decision from referee Friend that was not to his liking.
When he has cooled down, Lage will realise his side were the architects of their own downfall.
Jimenez will argue he was unlucky to be sent off but it was a challenge the Mexican did not have to make, with his side already two goals ahead, controlling midfield and Leeds running out of personnel and ideas.
At that stage, Joao Moutinho was running midfield and Willy Boly was outstanding at the back, Wolves having survived a couple of early scares as Rodrigo and Bamford failed to take their chances.
The result cost them a place in the top six and ended a two-match winning sequence.
They also lost the services of Ruben Neves as the midfielder was forced off halfway through the opening period.
Bamford injury blow
After an excellent week, Leeds' decision to replace the much-loved Marcelo Bielsa with Jesse Marsch is now looking like a masterstroke.
Back-to-back last-gasp wins for only the second time this season has been a pretty impressive way to bounce back from six straight defeats and after such a long struggle, Leeds' top-flight future is looking more secure than it has done for some time.
However, this victory, as memorable as it was, came with a heavy price, particularly for striker Bamford, who did not reach half-time in the third game of his latest comeback.
When he made his England debut at the beginning of September, Bamford must have been looking forward to another memorable campaign after scoring 17 times on Leeds' triumphant return to the top flight.
Within a fortnight, he suffered an ankle injury that ruled him out for three months and then immediately sustained a hamstring problem that kept him on the sidelines for another three months.
His latest setback came as he landed awkwardly as he led a charge into the Wolves penalty area.
Bamford immediately knew he could not continue and after walking slowly back to the dugout, slumped in his seat and pulled his shirt over his head in obvious disappointment.
Had that been the only injury issue Marsch had to deal with, it would have been bad enough.
That he also lost Diego Llorente and Mateusz Klich before half-time and goalkeeper Meslier after the collision that resulted in Jimenez's dismissal made a difficult situation totally disruptive.
Klich's exit at least allowed for a concussion substitution but it was little surprise that the visitors lost their way after a bright start.
When the half-time whistle sounded, it seemed to be a brief interlude in what would be a depressingly long night for Leeds.
But Jimenez's exit provided the spark they needed to ignite an amazing comeback that sends them into the international break in very good spirits.
Player of the match
AylingLuke Ayling
Wolverhampton Wanderers
Squad number8Player nameRúben Neves
Squad number11Player nameTrincão
Squad number1Player nameJosé Sá
Squad number19Player nameJonny
Squad number16Player nameCoady
Squad number15Player nameBoly
Squad number10Player nameDaniel Podence
Squad number28Player nameJoão Moutinho
Squad number27Player nameSaïss
Squad number3Player nameAït-Nouri
Squad number17Player nameFábio Silva
Squad number20Player nameChiquinho
Squad number32Player nameDendoncker
Squad number26Player nameHwang Hee-Chan
Squad number9Player nameJiménez
Leeds United
Squad number2Player nameAyling
Squad number13Player nameKlaesson
Squad number19Player nameRodrigo
Squad number22Player nameHarrison
Squad number35Player nameCresswell
Squad number20Player nameJames
Squad number4Player nameForshaw
Squad number15Player nameDallas
Squad number1Player nameMeslier
Squad number5Player nameKoch
Squad number43Player nameKlich
Squad number42Player nameGreenwood
Squad number21Player nameStruijk
Squad number9Player nameBamford
Squad number14Player nameLlorente
Line-ups
Wolves
Formation 3-4-2-1
1Malheiro de Sá
15Boly16Coady27Saïss
19Castro Otto8Neves28João Moutinho3Aït-Nouri
32Dendoncker10Podence
9Jiménez
1Malheiro de Sá15BolyBooked at 6mins16Coady27Saïss19Castro OttoSubstituted forFábio Silvaat 90+3'minutes8NevesSubstituted forMachado Trincãoat 25'minutes28João Moutinho3Aït-Nouri32DendonckerSubstituted forTomás Oliveiraat 90+3'minutes10PodenceSubstituted forHwang Hee-Chanat 78'minutes9JiménezBooked at 53minsSubstitutes
5Marçal11Machado Trincão17Fábio Silva20Tomás Oliveira21Ruddy23Kilman24Gomes26Hwang Hee-Chan39CundleLeeds
Formation 4-2-3-1
1Meslier
2Ayling14Llorente21Struijk15Dallas
43Klich4Forshaw
20James19Rodrigo22Harrison
9Bamford
1MeslierSubstituted forKlaessonat 55'minutes2Ayling14LlorenteSubstituted forKochat 40'minutes21StruijkBooked at 45mins15Dallas43KlichSubstituted forCresswellat 45+9'minutesBooked at 74mins4ForshawBooked at 90mins20James19RodrigoBooked at 68mins22Harrison9BamfordSubstituted forGreenwoodat 23'minutesSubstitutes
5Koch6Cooper13Klaesson23Phillips30Gelhardt35Cresswell38Summerville42Greenwood54KennehLive Text
Match ends, Wolverhampton Wanderers 2, Leeds United 3.
Second Half ends, Wolverhampton Wanderers 2, Leeds United 3.
Daniel James (Leeds United) wins a free kick on the left wing.
Foul by Conor Coady (Wolverhampton Wanderers).
Offside, Leeds United. Adam Forshaw tries a through ball, but Daniel James is caught offside.
Robin Koch (Leeds United) wins a free kick in the defensive half.
Foul by Romain Saïss (Wolverhampton Wanderers).
Corner, Wolverhampton Wanderers. Conceded by Kristoffer Klaesson.
Attempt saved. Trincão (Wolverhampton Wanderers) left footed shot from the right side of the box is saved in the top centre of the goal. Assisted by Fábio Silva.
Attempt saved. Hwang Hee-Chan (Wolverhampton Wanderers) right footed shot from outside the box is saved in the bottom right corner.
Adam Forshaw (Leeds United) is shown the yellow card.
Foul by Adam Forshaw (Leeds United).
Chiquinho (Wolverhampton Wanderers) wins a free kick in the defensive half.
Substitution, Wolverhampton Wanderers. Fábio Silva replaces Jonny.
Substitution, Wolverhampton Wanderers. Chiquinho replaces Leander Dendoncker.
Nohan Kenneh (Leeds United) is shown the yellow card.
Goal! Wolverhampton Wanderers 2, Leeds United 3. Luke Ayling (Leeds United) right footed shot from the centre of the box to the high centre of the goal following a set piece situation.
Daniel James (Leeds United) wins a free kick on the right wing.
Foul by Romain Saïss (Wolverhampton Wanderers).
Attempt missed. Charlie Cresswell (Leeds United) header from the centre of the box is just a bit too high. Assisted by Jack Harrison with a cross following a corner.