Paris St-Germain scored twice in stoppage-time in an incredible comeback against Atalanta to reach the Champions League semi-finals for the first time in 25 years.
A night of frustration for PSG forward Neymar looked set to ensure more continental disappointment for the French champions as Atalanta led through Mario Pasalic.
But Neymar then laid on a 90th-minute equaliser for Marquinhos and substitute Kylian Mbappe teed up former Stoke striker Eric Maxim Choupo-Moting to slide in the winner.
On the 50th anniversary of the club's founding, it looked like being a familiar tale of failure for PSG on European club football's biggest stage.
Neymar, the world's most expensive player, was all too often the only bright spark for Thomas Tuchel's side, but was also guilty of two glaring misses.
But the introduction of Mbappe - the world's second-most expensive player - proved crucial as his pace and quality finally undid the stubborn Atalanta rearguard and provided an astonishing finale to the first one-legged quarter-final in the re-shaped competition.
PSG will now face either RB Leipzig or Atletico Madrid in the first semi-final next Tuesday night.
The £200m man delivers
PSG have made a habit of finding ways to lose in the Champions League since their emergence as a global force off the pitch - with Barcelona's comeback from 4-0 down three years ago perhaps the most notable.
Champions League debutants Atalanta undoubtedly kicked-off as underdogs but have been superb all season, scoring 98 goals in Serie A and playing attractive, fluid, attacking football.
Neymar had already missed one glorious chance - running clean through on goal but shooting wide - when Pasalic capped a typically stylish Atalanta attack with a brilliant left-footed curler to give the Italian side the lead.
Neymar - whose salary was reported this week to be equal to that of the whole Atalanta squad - blazed wide again when well placed.
But to his credit the former Barcelona man, brought to Paris largely to deliver in this competition, continued to work hard for his side, driving them forward all night.
His 16 completed dribbles were the most in a Champions League game since Lionel Messi against Manchester United in April 2008.
He was always likely to produce PSG's decisive moment if one arrived, and Marquinhos got on the end of his dangerous ball across goal to poke in the equaliser just as a tired Atalanta looked poised to record a huge shock.
Their heads understandably went down as extra-time loomed but the fit-again Mbappe - majestic from the moment he stepped onto the pitch - glided past their defence again to lay on a tap-in for Choupo-Moting, a free transfer from the Potteries two years ago.
More to follow.
Follow reaction from Atalanta v Paris St-GermainChampions League last eight: All you need to know & vote for your winnerThe Champions League stories to look out forWhat was the best Champions League quarter-final?New rules inside the Champions League bubble - from laundry to urine tests