Sergio Aguero kept Manchester City's Champions League hopes alive with a hat-trick to seal a 3-2 win against ten-man Bayern Munich.
The Argentine's treble included two goals in the final five minutes to give City their first win of the tournament and end Bayern's perfect record in the group stage.
For the second time in his City career Aguero sealed a dramatic 3-2 win in the final minutes when it looked like his side had blown their big chance.
With CSKA Moscow having earned a late draw against Roma earlier in the evening, City knew even a draw would keep alive their chances of progressing from group E.
Things started well thanks to an Aguero penalty after Medhi Benatia had seen red for a foul on the striker, but goals from Xabi Alonso and Robert Lewandowski put the Germans ahead.
With just minutes to go they looked like they were on their way out of the competition as they trailed Bayern 2-1, but Aguero turned things around and completed a sensational hat-trick that keeps the dream alive.
Manuel Pellegrini's side faced off against an already qualified Bayern side missing their injured captain Philipp Lahm, while star names such as Bastian Schweinsteiger, Mario Gotze and Thomas Muller were left on the bench.
But City weren't at full strength either, with Yaya Toure and Fernandinho suspended and David Silva, Aleksandar Kolarov and Edin Dzeko all injured.
It was the hosts who struck first when Frank Lampard's clever long ball found Aguero bearing down on goal, and with the in-form striker about to pull the trigger Benatia brought him down in the box.
The Bayern defender deservedly saw red and Aguero's 15th goal of the season gave City a one goal lead to go with their one man advantage.
Pep Guardiola's side weren't phased by their numerical disadvantage, and got themselves back in the game with five minutes remaining in the first half.
When Eliaquim Mangala upended Lewandowski on the edge of the box, Bayern were awarded a free-kick which Arjen Robben looked to be taking control of.
Alonso, celebrating his 32nd birthday, had other ideas and struck a low shot past the unsighted Joe Hart and into the bottom corner.
With ten man Bayern dominating possession, City were hoping to hold on until half time but Lewandowski found space between Vincent Kompany and Bacary Sagna to loop an effort past Hart.
In truth the ball had bounced off the Polish strikers shoulder, but the Germans weren't bothered and went into the break with a 2-1 lead.
City huffed and puffed throughout the second half but couldn't get the ball off Guardiola's side, let alone create any meaningful chances, until the final five minutes.
Alonso uncharacteristically gave the ball away on the halfway line and substitute Stevan Jovetic's interception made it's way to Aguero just inside the Bayern half.
Sensing a chance, the 26-year-old burst through the middle of the defence before sliding a left-footed effort past the exposed Manuel Neuer.
A draw would have still been a positive result for Pellegrini's men given that they'd fallen behind despite their numerical advantage, but a certain Argentinian was not done yet.
Those wearing blue inside the Etihad stadium were suddenly optimistic of a vital win, and they got what they craved a minute into injury time.
Kompany pumped forward a long ball which was flicked on by Jovetic but the Serbian's header fell kindly at the feet of former City defender Jerome Boateng.
The German's touch under pressure from Aguero was almost comical and City's saviour held off Rafinha and showed great composure to seal a famous hat-trick.
Aguero was replaced by compatriot Martin Demichelis with seconds remaining to a deserved standing ovation having once again pulled City out of a deep hole.
With one game left to play City know a win or score draw in Rome will see them edge past Roma and CSKA Moscow should the Russians lose in Munich.
Even a draw for CSKA against Bayern will not be enough to deny Manchester City qualification should they beat Roma.
Draws in both games will see the Italians earn second place and while there will be countless twists and turns on the final matchday, Pellegrini will hope his star striker can once again produce the goods.
Do YOU want to write for GiveMeSport? Get started today by signing-up and submitting an article HERE: https://www.givemesport.com/writeforgms