Kelechi Iheanacho's injury-time deflection helped Manchester City return to the top of the Premier League after beating managerless Swansea.
The hosts, who lost at Stoke a week ago, struggled against the Swans, who sacked ex-boss Garry Monk on Wednesday.
And after Wilfried Bony lost Ashley Williams to score against his former club, Bafetimbi Gomis' late equaliser looked like it would earn a point.
But there was still time for Yaya Toure to curl in off Iheanacho.
The hugely fortunate strike was a crushing blow to a rejuvenated Swansea, who were led by caretaker boss Alan Curtis and created the better chances.
Yet after an almost perfect game plan, where Gomis came off the bench late on to end an 11-game goal drought in the league, Swansea slumped to a third consecutive defeat.
The result means the visitors have won one of their last 12 league games and remain 15th in the table, a point above the relegation zone.