A stoppage time Erling Haaland penalty was required to see off the newly promoted side who have been flying so far this campaign.
Julian Alvarez had opened the scoring in the first half but when Joao Cancelo was sent off and Andreas Pereira converted the resulting penalty, it was a much more difficult assignment for the Blues.
In the end, a foul on Kevin De Bruyne gave the Norwegian - on as a second half substitute after missing two matches through injury - the opportunity to seal the three points.
His spot kick found its way through Bernd Leno to spark jubilant scenes around the Etihad Stadium.
Tunnel Cam shows us how the players prepared for the match and their reactions following the late, late winner.
Click on the above video to relive a dramatic day from behind the scenes...