AC Milan scored three times in five astonishing second-half minutes as they hit back from two goals down to beat visiting Serie A leaders Juventus 4-2 on Tuesday, the first points dropped by the Turin side since the season restarted last month.
Juve appeared to be cruising to another win when Adrien Rabiot put them ahead with a solo goal two minutes after the break and Cristiano Ronaldo added a second with a typical effort, his 26th league goal of the season.
Yet Zlatan Ibrahimovic pulled one back from a penalty in the 62nd minute, Franck Kessie equalised four minutes later and Rafael Leao put them ahead one minute after that as Juve astonishingly collapsed. Ante Rebic completed the scoring.
Despite the defeat, Juve, on 75 points, stayed seven clear with seven matches to play after second-placed Lazio earlier lost 2-1 at lowly Lecce. Milan climbed to fifth with 49 points although they are still 14 points adrift of the top four.
It completed a remarkable four days for Milan who beat second-placed Lazio 3-0 away on Saturday and were widely reported on Monday to have agreed terms for German coach Ralf Rangnick to replace Stefano Pioli next season.
"I just expect to concentrate on doing the job I was called to do," Pioli said after the match.
"I can't waste energy thinking about situations that are not up to me. We have to get our energy back and think about the next game against Napoli.
"We have become a team because we know each other now and we know our strengths and weaknesses. I am so happy here, proud and eager to end this season on a high. I like being with my team and whatever will be, will be."
Pioli has overseen an impressive transformation since his team's infamous 5-0 defeat to Atalanta in the last game before the winter break.
"The team has come together in difficult situations and thought only about work," he said.
"They believe in themselves. All the praise goes to my players, as they are showing an incredible mentality and spirit."
After a relatively uneventful first half, Juve broke through in style as Rabiot collected the ball just inside his own half, powered through the Milan midfield and fired past Gianluigi Donnarumma.
In the next attack, Juan Cuadrado launched a long ball upfield and it flew over two Milan defenders who collided to leave Ronaldo with a free run on goal, and the Portuguese duly placed his shot past Donnarumma.
Yet it all changed after Milan were awarded a penalty with the help of a VAR review after the ball hit Leonardo Bonucci's elbow and 38-year-old Ibrahimovic converted.
A quick exchange of passes on the edge of the Juve area finished with Kessie sidestepping Bonucci to slot the ball past Wojciech Szczesny, then Leao collected a loose ball and found a gap between the Polish goalkeeper and the near post for Milan's third.
Juve were denied an equaliser when Donnarumma made a one-handed save from Daniele Rugani's header before Rebic fired Milan's fourth to complete a remarkable win.