Substitutes Julian Alvarez and Jeremy Doku scored late goals as Manchester City recovered from back-to-back defeats to beat Leipzig in the Champions League.
Defending champions City, who came into the game on the back of losses to Newcastle in the Carabao Cup and Wolves in the Premier League, looked in complete control in the first half.
Phil Foden gave them a deserved lead with a difficult shot on the bounce following a cutback by Rico Lewis, who impressed in a central midfield role.
Leipzig scored with their only shot on target, as Lois Openda raced onto a through ball before slotting the ball past Ederson via the inside of the post.
But it was all City from then with Foden hitting the post with a free-kick and Erling Haaland missing a host of chances.
Five minutes after coming off the bench, Alvarez lifted a perfectly weighted shot into the top corner from the edge of the box following a pass by Doku.
The Argentine then found Doku in space and he sped away to score a late third and seal the points.
City will be relieved to get back to winning ways as they prepare to visit title rivals Arsenal on Sunday.