Match ends, Blackburn Rovers 1, Sheffield Wednesday 2.
Blackburn fell to their first defeat in 10 games as Claude Dielna scored an injury time winner for Sheffield Wednesday at Ewood Park.
The substitute had only been on the pitch for a minute when his curling effort secured a dramatic win for Stuart Gray's side.
His 25-yard shot took a deflection as it flew past goalkeeper Jason Steele.
Keiran Lee had earlier given Wednesday the lead with a close-range effort only for Alex Baptiste to level the scores.
It was Wednesday's first win at Ewood Park since 1999.
But, Blackburn missed the best chances to win the game and stay in touch with the Championship leaders before Dielna proved the match-winner.
Striker Jordan Rhodes headed on to a post and Ryan Tunnicliffe forced a flying save from Keiren Westwood in the Wednesday goal.
Lee gave the visitors the lead on three minutes after pouncing on a mistake from Steele who failed to hold on to Stevie May's initial shot.
Blackburn equalised when Rhodes nodded down into the path of Baptiste who wrapped his foot over the ball to fire past Westwood from 10 yards.
Wednesday missed a glorious chance to retake the lead after 36 minutes when Glenn Loovens headed over a Royston Drenthe free-kick from five yards.
Westwood kept the scores level in the second half when he saved a thunderous volley from Tunnicliffe and tipped over the crossbar.
David Dunn then flashed a shot wide for Rovers before Dielna sealed the win for the visitors late-on.
Blackburn remain out of the play-off places in seventh while the win sees Sheffield Wednesday climb to 12th.
Blackburn manager Gary Bowyer: "I thought the manner of the three goals matched the quality of the game. They were three poor, scrappy goals.
"But we have to now realise our level of performance wasn't good enough. We've gifted the game to them with the manner of the goals they've scored."
Sheffield Wednesday manager Stuart Gray: "Kieran Lee got his goal and we had two or three more opportunities, then stopped doing what was getting us our success.
"We allowed Blackburn to come into the game and then there was a 20-minute period in that second half where we've had to roll our sleeves up and dig in."
On Lewis McGugan injury after he was carried off on stretcher after suffering a head injury: "He was knocked out completely. He's come round, in a neck brace as a precaution, but fingers crossed he will be okay."
- 32ConwaySubstituted forDunnat 82'minutes
- 17WilliamsonSubstituted forTunnicliffeat 66'minutes
- 39GestedeSubstituted forBrownat 67'minutes
- 11DrentheSubstituted forLaveryat 76'minutes
- 37McGuganSubstituted forMattockat 35'minutes
- 9NuhiuSubstituted forDielnaat 90+1'minutesBooked at 90mins
- Steve Martin
- Shots on Target
Second Half ends, Blackburn Rovers 1, Sheffield Wednesday 2.
Claude Dielna (Sheffield Wednesday) is shown the yellow card for excessive celebration.
Goal! Blackburn Rovers 1, Sheffield Wednesday 2. Claude Dielna (Sheffield Wednesday) left footed shot from outside the box to the top left corner. Assisted by Kieran Lee.
Substitution, Sheffield Wednesday. Claude Dielna replaces Atdhe Nuhiu.
Attempt blocked. Caolan Lavery (Sheffield Wednesday) right footed shot from the left side of the box is blocked. Assisted by Kieran Lee.
Attempt missed. David Dunn (Blackburn Rovers) left footed shot from the left side of the box misses to the right. Assisted by Chris Brown.
Attempt missed. Stevie May (Sheffield Wednesday) right footed shot from the right side of the box is high and wide to the right. Assisted by Chris Maguire.
Ben Marshall (Blackburn Rovers) wins a free kick on the right wing.
Foul by Caolan Lavery (Sheffield Wednesday).
Substitution, Blackburn Rovers. David Dunn replaces Craig Conway.
Attempt missed. Markus Olsson (Blackburn Rovers) left footed shot from outside the box misses to the left. Assisted by Shane Duffy.
Foul by Grant Hanley (Blackburn Rovers).
Stevie May (Sheffield Wednesday) wins a free kick in the defensive half.
Craig Conway (Blackburn Rovers) wins a free kick in the defensive half.
Foul by Joe Mattock (Sheffield Wednesday).
Substitution, Sheffield Wednesday. Caolan Lavery replaces Royston Drenthe.
Chris Brown (Blackburn Rovers) wins a free kick on the left wing.
Foul by Tom Lees (Sheffield Wednesday).
Attempt blocked. Ryan Tunnicliffe (Blackburn Rovers) left footed shot from outside the box is blocked.