The Senegalese hit an early opener to put the Reds top of the table temporarily.
But once Sergio Aguero cancelled out Glenn Murray’s goal, Aymeric Laporte soon put Pep Guardiola’s champions in front and back in control.
Jurgen Klopp’s side did eventually make it two, with Mane heading home another Trent Alexander-Arnold ball.
The win sees Liverpool end the season on 97 points: the most ever for a runner-up.
Here’s how the players at Anfield rated.
Join our new commenting forum
Join thought-provoking conversations, follow other Independent readers and see their replies