Gabriel Jesus scored a 76th-minute winner as Manchester City beat Paris St Germain 2-1 at the Etihad Stadium to take their place in the Champions League knockout stages as Group A winners.
PSG also advanced to the last 16 thanks to Leipzig's win over Club Brugge but the loss highlighted their continued problems in finding an effective way to harness their star-studded attack.
For the opening 45 minutes, City dominated play with their usual invention and verve while PSG's front three of Lionel Messi, Neymar and Kylian Mbappe too often watched from afar.
Iklay Gundogan hit the post in the 32nd minute and Riyad Mahrez twice went close while the most Paris managed before the interval was a breakaway which ended with Mbappe curling a shot over the bar.
Four minutes after the break, however, PSG grabbed the lead, Mbappe drilling the ball home at the back post after Messi's cross had deflected off Kyle Walker into the French forward's path.
City drew level when Raheem Sterling poked home at the back post after a lovely ball from Rodri had set up Walker for a trademark low cross.
Mahrez created the winner, floating a ball to Bernardo Silva at the far post and the Portuguese midfielder showed a deft touch to cushion the ball to Jesus who picked his spot.
You can see the player ratings from the game in the gallery above. To view the next image, click on the arrows or swipe if on a mobile device.