Match ends, Sheffield Wednesday 1, Rotherham United 2.
Freddie Ladapo's stunning last-minute winner gave 10-man Rotherham United victory over fellow strugglers Sheffield Wednesday in Darren Moore's first game in charge of the Owls.
It looked like a keenly-fought game was destined to end level before substitute Ladapo cut in off the left and smashed a brilliant 20-yarder beyond Joe Wildsmith to give the Millers a vital win.
They had earlier taken the lead when Michael Smith headed home from Florian Jozefzoon's cross, but Smith was then sent off following the break after tangling with Wednesday centre-back Julian Borner.
Rotherham defender Matt Olosunde saw the ball ricochet off him and into his own net for the leveller but, with a point not much use for either side's survival hopes, both went in search of a winner and it was Ladapo who was the hero with a beautiful strike in the seventh minute of time added on.
Defeat for the Owls means they remain seven points adrift of safety, while the Millers, who had lost their previous five, are now just three points off 21st-placed Birmingham.
Moore left Doncaster on Monday to take over at Hillsborough and this game will have left him in no doubt about the size of the task he has on his hands.
Wednesday have now lost five on the bounce and are facing the very real possibility of being relegated back to League One for the first time since 2012.
They could have won it themselves when Matt Penney crossed for Callum Paterson but he could not make a clean connection and the ball flew over the crossbar.
Moore's side travel to play-off hopefuls Reading on Saturday, while Paul Warne's men visit second-placed Brentford.
Sheffield Wednesday manager Darren Moore told BBC Radio Sheffield:
"Football has got a funny knack for kicking you right where it really hurts.
"I don't want the players to be too disappointed because tonight I saw a performance and players working really hard.
"We need to keep believing because we created enough chances to have scored more goals, it was just the final contact that was lacking.
"We've put some good work in in the two days we have been here and the longer we're here the more understanding they will get. We need to find a rhythm.
"I've learned a lot tonight and it's always hard to take losing a game in the last minute but the performance was there."
Rotherham boss Paul Warne told BBC Radio Sheffield:
"It's a very special night for me and the team. It's the nicest walk off a pitch I have ever had. It was like Escape to Victory.
"As soon as Freddie hit it I thought it had a chance and then when it hit the net... wow. I've said it loads of times but it was like Disney. I'll never forget it.
"I thought the red card was very light. I'll need to see it again but it's disappointing because his performance up until then had been virtually faultless.
"We got what we deserved in the end."
- 2PalmerSubstituted forMarriottat 83'minutes
- 11ReachSubstituted forK Harrisat 73'minutesBooked at 90mins
- 6HutchinsonSubstituted forBrownat 80'minutes
- 18WindassSubstituted forKachungaat 73'minutes
- 10BannanSubstituted forRhodesat 83'minutes
- 7K Harris
- 26BarlaserSubstituted forSadlierat 90+2'minutes
- 28JozefzoonSubstituted forLadapoat 70'minutes
- 30GilesSubstituted forClarkeat 76'minutes
- 24SmithBooked at 66mins
- Darren Bond
- Shots on Target
Second Half ends, Sheffield Wednesday 1, Rotherham United 2.
Goal! Sheffield Wednesday 1, Rotherham United 2. Freddie Ladapo (Rotherham United) right footed shot from outside the box to the bottom right corner. Assisted by Matt Crooks following a fast break.
Corner, Sheffield Wednesday. Conceded by Matthew Olosunde.
Kadeem Harris (Sheffield Wednesday) is shown the yellow card for a bad foul.
Foul by Kadeem Harris (Sheffield Wednesday).
Kieran Sadlier (Rotherham United) wins a free kick in the defensive half.
Attempt saved. Lewis Wing (Rotherham United) right footed shot from outside the box is saved in the centre of the goal.
Foul by Liam Shaw (Sheffield Wednesday).
Lewis Wing (Rotherham United) wins a free kick in the attacking half.
Offside, Sheffield Wednesday. Matt Penney tries a through ball, but Tom Lees is caught offside.
Substitution, Rotherham United. Kieran Sadlier replaces Daniel Barlaser.
Attempt missed. Callum Paterson (Sheffield Wednesday) header from the centre of the box is just a bit too high. Assisted by Matt Penney with a cross.
Isaiah Brown (Sheffield Wednesday) wins a free kick in the defensive half.
Foul by Freddie Ladapo (Rotherham United).
Attempt missed. Matt Crooks (Rotherham United) right footed shot from the centre of the box is too high following a set piece situation.
Foul by Elias Kachunga (Sheffield Wednesday).
Ben Wiles (Rotherham United) wins a free kick in the defensive half.
Substitution, Sheffield Wednesday. Jack Marriott replaces Liam Palmer.
Substitution, Sheffield Wednesday. Jordan Rhodes replaces Barry Bannan.