Gabriel Jesus has scored a 76th-minute winner, as Manchester City beat Paris St Germain 2-1 at the Etihad Stadium to booke their place in the Champions League knockout stages.
PSG have also advanced to the last 16, thanks to Leipzig's win over Club Brugge.
In the 50th minute, Kylian Mbappe fired PSG into a lead, drilling the ball home at the back post, after Lionel 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.
Riyad 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.
With one round of games remaining, City lead Group A on 12 points, with PSG on eight, and Leipzig and Brugge, both on four points, left to compete for third place and a spot in the Europa League.
Second-half goals by Thiago Alcantara and Mohamed Salah have earned below-strength Liverpool a 2-0 win over Porto to maintain their 100 percent record in Group B.
Porto, who started the day second in the group behind already-qualified Liverpool, wasted several first-half opportunities and were made to pay a heavy price.
With the likes of Virgil van Dijk and Jordan Henderson rested, Liverpool went ahead in the 52nd minute through Thiago's stunning low strike, before Salah made the points safe with a clinical finish in the 70th.
Juergen Klopp's side have a maximum 15 points from their five matches, while Porto hung on to second place with five points, thanks to Atletico Madrid's 1-0 home defeat by AC Milan.
Earlier, Edin Dzeko scored twice in the space of six minutes to earn Inter Milan a 2-0 win over Shakhtar Donetsk at San Siro and send the Italians to the brink of their first knockout stage appearance in a decade.
In the 61st minute, the Bosnian swept home a finish to give Inter a deserved lead, after they had been left frustrated by two disallowed goals and a string of missed opportunities.
Dzeko did not need long to double his tally, heading in an inviting Ivan Perisic cross to mark his 50th goal in European club competitions.
The result sent Simone Inzaghi's side provisionally top of Group D on 10 points and means Shakhtar are guaranteed to finish bottom, with one point.
If Sheriff Tiraspol, with six points, fail to beat Real Madrid, on nine points, Inter will be guaranteed of a place in the last-16 for the first time since 2011.
In other results, Portugal's Sporting Lisbon has handled German side Borussia Dortmund 3-1, while Spain's Atletico Madrid fell to a 1-0 defeat against Italy's AC Milan.
Reuters/Newshub