Paris Saint-Germain are through to the Club World Cup semi-finals after beating Bayern Munich 2-0 despite finishing the game with nine players.
Desire Doue scored the breakthrough goal in the 78th minute, wrongfooting Manuel Neuer after Harry Kane had been dispossessed in the centre circle, but it was an awkward finale for the European champions when they had two players sent off.
Willian Pacho's studs-up challenge was punished with a straight red card by English official Anthony Taylor and in the 92nd minute Lucas Hernandez suffered the same fate when he proceeded to elbow Raphael Guerreiro on the jaw in full view of the referee.
But Luis Enrique's side made light of those losses by scoring with a stunning counter-attack after Achraf Hakimi beat three players to set up substitute Ousmane Dembele, who finished emphatically having struck the underside of the bar just seconds earlier.
Bayern had no answer, even seeing a penalty decision overturned when VAR deemed Nuno Mendes' challenge on Thomas Muller, making what will be his final appearance for the German champions, to be a fair one. Vincent Kompany's side are out.
Musiala injury mars game for Bayern
It was a miserable afternoon for Bayern in Atlanta, particularly as Jamal Musiala suffered a serious injury in the first half. Gianluigi Donnarumma clattered into his leg when collecting the ball, resulting in the ugly sight of Musiala dislocating his ankle.
Players from both sides were visibly distressed by the incident that will surely result in the talented Germany international missing a chunk of the forthcoming Bundesliga season, with the World Cup also coming up in the United States next summer.
PSG's journey in North America is far from over, however. While the loss of Pacho will be a problem for the semi-final, against either Real Madrid or Borussia Dortmund, they remain on course to add the Club World Cup to their Champions League win in Munich.
Player of the match: Desire Doue
Desire Doue, scorer of the opening goal for PSG, speaking to DAZN:
"It was really important to win this game because we know that in the first part of the season we lost against this team. It was really important to beat Bayern today. We are really happy today.
"It was a fight today. We are really sad that Pacho and Lucas took a red card but it is part of the game. We have to be good in the next game and we are going to win. We are ready for anything."
Dembele celebration pays tribute to Jota
There was a tribute to Diogo Jota, the Liverpool forward who died in a road traffic accident this week, before kick-off, particularly poignant with Portuguese players among both squads. And Dembele proved that Jota was still in their thoughts at the end.
The Ballon d'Or favourite mimicked Jota's gaming celebration after scoring PSG's second goal, sitting cross-legged on the ground.
From next season, Sky Sports' Premier League coverage will increase from 128 matches to at least 215 games exclusively live.
And 80 per cent of all televised Premier League games next season are on Sky Sports.