Raheem Sterling scored a fortuitous late winner as Manchester City opened up an eight-point lead at the top of the English Premier League with a hard-fought 2-1 victory over Huddersfield Town.
City dominated with 80 per cent possession, but had to wait until the 84th minute when Sterling unwittingly bundled home after a shot from Gabriel Jesus cannoned off goalkeeper Jonas Lossl and into his path.
In front of their vociferous fans, Huddersfield - who earlier this month beat City's rivals United - took the most unlikely lead when Nicolas Otamendi diverted a corner into his own net in first-half stoppage time.
Their lead was erased within two minutes of the restart, however, when Sergio Aguero calmly converted a penalty after Sterling was brought down by Scott Malone.
Huddersfield's Rajiv van La Parra was shown a red card after the final whistle following an altercation with Leroy Sane.
Socceroos midfielder Mooy almost levelled things up with a late free kick which rustled the side netting.
Table-topping City have 37 points from 13 games while Huddersfield sit 11th with 15 points in a promising first Premier League campaign.
Earlier, Alexis Sanchez converted a last-gasp penalty to give Arsenal a 1-0 win at Burnley and lift them into the top four.
The Chilean scored from the spot in injury time after Aaron Ramsey had been pushed over by James Tarkowski.
The result lifted Arsenal above Tottenham and Liverpool into fourth, though still nine points behind leaders Manchester City. Burnley remain seventh.
Southampton thumped Everton 4-1 to move into the top half of the table.
Everton, who are still looking for a permanent manager, remain 16th, just two places and two points above the drop zone zone although caretaker David Unsworth would not accept his side were in a relegation dogfight.