Tom Cannon fired managerless Stoke City to a dramatic stoppage-time victory against promotion-chasing Sunderland at the bet365 Stadium.
The Potters striker's 10th goal of the season, two minutes into added time, gave caretaker manager Ryan Shawcross victory at the first attempt following the sacking of Narcis Pelach.
Pelach was dismissed following their Boxing Day defeat by Leeds after winning just three of his 19 matches in charge.
It was a first win in 10 for Stoke and checked Sunderland's promotion momentum, having started the day in fourth and unbeaten in their previous five games.
While the Black Cats created more than enough chances to win comfortably, Cannon's unstoppable shot, rifled in from 25 yards, sent them home empty-handed.
Shawcross, though, once again owed a huge debt of gratitude to goalkeeper Viktor Johansson, who kept the Black Cats at bay with another towering performance between the sticks.
Sunderland had to call on their own keeper Anthony Patterson several times in an entertaining encounter.
But it was the home side's MVP who was the busier of the two with Sunderland having 22 shots and seven on target but unable to find a way past the Swede.
Johansson denied Milan Aleksic and Trai Hume in a lively first half but it was his save from Adil Aouchiche, low to his left at the near post after the forward charged into the area from the right flank, which stood out.
It was not all one-way traffic with both Cannon and Lewis Koumas testing at the other end.
Koumas was again unable to beat Patterson 20 minutes into the second half, with Chris Mepham clearing the ball off the line in the aftermath.
Aouchiche hit the woodwork for Sunderland and then two minutes later delivered a cross to Eliezer Mayenda, only to see him put his header from six yards out wide of the post.
It was an awful miss and one punished by Cannon, who was cautioned for excessive celebration following his goal.
Sunderland had one last chance to level deep into injury time but Mepham's effort from the edge of the box was saved to his right by Johansson.
Regis Le Bris' side remain fourth but still four points adrift of Leeds in the second automatic promotion spot, with the West Yorkshire side in a later kick-off against Derby County.
For Stoke, a sixth win of their campaign, saw them move up to 18th place, four points away from the danger zone at the foot of the table.
Stoke caretaker manager Ryan Shawcross told BBC Radio Stoke:
"The game plan was a risky one as I wanted the lads to go for it and get after Sunderland. I knew at times they would cut through us at times if we did, but second half I felt we had a right good 20 minutes where we probably didn't get enough finishes or end product.
"Then to win it in the last minute, the feeling in the stadium was amazing and the sort of thing you dream of.
"With a few slight changes, I think there is a group in there who can move forward and be successful. The season has not been great but we spoke about a moment in the season where you have an upturn and hopefully that was it.
"[On whether he wants the job full time] I've had one game. I will concentrate on Burnley, if they need me to take it. I would love to know what is going to happen but you never know in football. We will see how it goes."
Sunderland manager Regis le Bris told BBC Radio Newcastle:
"[I am] Disappointed, but it is a long league and a tough league with many, many games in a short period.
"The most difficult part of the pitch is always the final third. We created many chances I think we had 22 shots and two on the post, three big saves from the goalkeeper. Sometimes football is like that.
"Sometimes you score with one chance and other times you can't score with six, seven, eight or nine big chances.
"But the spirit was good and we have to keep the way we want to play. Sometimes we deserve to win and sometimes we don't, so no drama."