MANCHESTER, England (AP) — Amad Diallo struck a 90th-minute winner as Manchester United staged a stunning late comeback to beat Manchester City 2-1 in the Premier League on Sunday.

Four-time defending champion City led the Manchester derby 1-0 going into the 88th minute at the Etihad Stadium. But the game was turned round in dramatic fashion as Bruno Fernandes leveled from the penalty spot and Diallo sealed victory for United — prompting head coach Ruben Amorim to declare “something magic happened.”

“It was a very tough match but we believe until the end. We managed to score. We needed that win. It was important for us and for our fans," Amorim said.

City fans jeered at the final whistle as their once dominant team’s woeful run of form extended to one win and eight losses in 11 games.

"I'm the boss, I'm the manager and I'm not good enough. It's as simple as that," Guardiola said.

It was a first derby victory for new United head coach Ruben Amorim, who led Sporting Lisbon to a 4-1 win against City in one of his last games in charge of the Portuguese club in November.

But for a long time it looked like being a third-straight league loss for United after Josko Gvardiol’s headed goal in the 36th.

Fernandes was guilty of missing the target when through on goal in the second half and United struggled to create chances against a City team that rarely looked like adding to its lead.

But in a dramatic end to the match, Diallo raced after an underhit backpass from Matheus Nunes. Nunes then brought down the United forward in the box and referee Anthony Taylor pointed to the penalty spot.

Fernandes made no mistake this time — sending Ederson the wrong way.

Moments later, Diallo ran onto a long pass from Lisandro Martinez, flicked the ball high and past Ederson before rolling it into the net from a tight angle.

“We have a lot to do but it was massive for our fans,” Amorim said.

United is 13th and five points behind fifth-place City, which has seen its title defense unravel during its losing run.

“This is a big club and in a big club when you lose eight in 10 (11) something wrong is happening,” Guardiola said.

Chelsea challenge

Chelsea, in second, closed the gap on Liverpool to two points after a 2-1 win against Brentford.

It’s now seven straight wins in all competitions for Enzo Maresca’s team, which is unbeaten in 10. It’s last league defeat was in October — a 2-1 loss to Liverpool.

Marc Cucurella scored in the 43rd and Nicolas Jackson made it 2-0 in the 80th for his ninth goal of the season.

Bryan Mbeumo scored for Brentford in the 90th and Cucurella was sent off for a second yellow card in added time.

Chelsea is four points ahead of third-place Arsenal.

Tottenham rout

It just gets worse for last-place Southampton, which was routed 5-0 by Tottenham.

Spurs scored all five before halftime, with James Maddison getting two. Son Heung-min, Dejan Kulusevski and Pape Sarr also scored.

Tottenham moved up to 10th and is five points off the Champions League places.

Sarr double

Ismaila Sarr scored twice as Crystal Palace beat Brighton 3-1 in the Premier League on Sunday.

The forward also provided an assist for Trevoh Chalobah in the win at the Amex Stadium, which lifted Palace four points clear of the relegation zone.

Brighton is ninth and without a win in four matches.

Palace went ahead in the 27th minute through Chalobah, and Sarr doubled the lead for the visitors in the 33rd.

Sarr scored his second in the 82nd before Marc Guehi’s own-goal pulled one back for Brighton. It was Guehi’s second own-goal in his last four games.

___

James Robson is at https://twitter.com/jamesalanrobson

___

AP soccer: https://apnews.com/hub/soccer

Manchester United's Bruno Fernandes celebrates after scoring his side's second goal during the English Premier League soccer match between Manchester City and Manchester United at the Etihad Stadium in Manchester, Sunday, Dec. 15, 2024. (AP Photo/Dave Thompson)

Credit: AP

icon to expand image

Credit: AP

Manchester City's head coach Pep Guardiola reacts during the English Premier League soccer match between Manchester City and Manchester United at the Etihad Stadium in Manchester, Sunday, Dec. 15, 2024. (AP Photo/Dave Thompson)

Credit: AP

icon to expand image

Credit: AP

Manchester City's Ruben Dias, left, challenges for the ball with Manchester United's Rasmus Hojlund during the English Premier League soccer match between Manchester City and Manchester United at the Etihad Stadium in Manchester, Sunday, Dec. 15, 2024. (AP Photo/Dave Thompson)

Credit: AP

icon to expand image

Credit: AP

Manchester City's Josko Gvardiol, centre, scores his side's opening goal during the English Premier League soccer match between Manchester City and Manchester United at the Etihad Stadium in Manchester, Sunday, Dec. 15, 2024. (AP Photo/Dave Thompson)

Credit: AP

icon to expand image

Credit: AP

Manchester United owner Sir Jim Ratcliffe, left, talks with Manchester City chairman Khaldoon Al Mubarak ahead the English Premier League soccer match between Manchester City and Manchester United at the Etihad Stadium in Manchester, Sunday, Dec. 15, 2024. (AP Photo/Dave Thompson)

Credit: AP

icon to expand image

Credit: AP

Manchester United's Diogo Dalot reacts during the English Premier League soccer match between Manchester City and Manchester United at the Etihad Stadium in Manchester, Sunday, Dec. 15, 2024. (AP Photo/Dave Thompson)

Credit: AP

icon to expand image

Credit: AP

Manchester City's Phil Foden kicks the ball ahead of Manchester United's Kobbie Mainoo during the English Premier League soccer match between Manchester City and Manchester United at the Etihad Stadium in Manchester, Sunday, Dec. 15, 2024. (AP Photo/Dave Thompson)

Credit: AP

icon to expand image

Credit: AP

Manchester City's head coach Pep Guardiola reacts during the English Premier League soccer match between Manchester City and Manchester United at the Etihad Stadium in Manchester, Sunday, Dec. 15, 2024. (AP Photo/Dave Thompson)

Credit: AP

icon to expand image

Credit: AP

Manchester City's Phil Foden kicks the ball ahead of Manchester United's Kobbie Mainoo during the English Premier League soccer match between Manchester City and Manchester United at the Etihad Stadium in Manchester, Sunday, Dec. 15, 2024. (AP Photo/Dave Thompson)

Credit: AP

icon to expand image

Credit: AP

Manchester City's Josko Gvardiol, left, celebrates after scoring his side's opening goal during the English Premier League soccer match between Manchester City and Manchester United at the Etihad Stadium in Manchester, Sunday, Dec. 15, 2024. (AP Photo/Dave Thompson)

Credit: AP

icon to expand image

Credit: AP

Chelsea's Marc Cucurella, second left, celebrates with teammates after scoring the opening goal of the game during the English Premier League soccer match between Chelsea and Brentford at Stamford Bridge in London, Sunday, Dec. 15, 2024. (AP Photo/Kin Cheung)

Credit: AP

icon to expand image

Credit: AP

Chelsea's Cole Palmer, left, vies for the ball with Brentford's Yehor Yarmolyuk during the English Premier League soccer match between Chelsea and Brentford at Stamford Bridge in London, Sunday, Dec. 15, 2024. (AP Photo/Kin Cheung)

Credit: AP

icon to expand image

Credit: AP

Tottenham Hotspur's James Maddison celebrates scoring during the English Premier League soccer match between Southampton and Tottenham Hotspur at St Mary's Stadium, Southampton, England, Sunday Dec. 15, 2024. (Andrew Matthews/PA via AP)

Credit: AP

icon to expand image

Credit: AP

Tottenham Hotspur's Son Heung-Min celebrates scoring during the English Premier League soccer match between Southampton and Tottenham Hotspur at St Mary's Stadium, Southampton, England, Sunday Dec. 15, 2024. (Andrew Matthews/PA via AP)

Credit: AP

icon to expand image

Credit: AP

Crystal Palace's Ismaila Sarr celebrates scoring during the English Premier League soccer match between Brighton and Hove Albion and Crystal Palace, at the American Express Stadium, in Brighton and Hove, England, Sunday, Dec. 15, 2024. (Zac Goodwin/PA via AP)

Credit: AP

icon to expand image

Credit: AP