|Manchester City's Brazilian defender Danilo (L) is challenged by Wigan Athletic's English striker Gavin Massey during the English FA Cup fifth round football match between Wigan Athletic and Manchester City at the DW Stadium in Wigan, northwest England, on Feb 19, 2018. (Photo: AFP/Oli Scarff) |
In an uncanny repeat of the 2013 FA Cup final, in which City had a player sent off before losing to a late Wigan winner, Guardiola's side had Fabian Delph dismissed amid stormy scenes before Will Grigg's 79th-minute goal decided the game.
A famous night was marred, however, by a post-match pitch invasion by Wigan supporters which saw a number of them confront City players, with striker Sergio Aguero required to defend himself.
Earlier the drama had been provided by Northern Ireland international Grigg who capitalised on an error by Kyle Walker - who allowed a pass to run through to the Wigan man - and kept ahead of John Stones before finishing clinically from just inside the area.
It was only City's second defeat to English opposition since losing an FA Cup semi-final to Arsenal last April while their opponents can now look forward to a quarter-final home tie with Southampton.
The pivotal sending-off arrived in first half injury-time when Fabian Delph made a rash challenge on Wigan's Max Power, prompting referee Anthony Taylor to pull a yellow card out of his pocket before changing his mind and producing red.
That infuriated City players, who surrounded the referee, and the dispute spilled into the rival technical areas with Sergio Aguero having to be dragged away by Guardiola as he argued furiously with Wigan coaches.
The scene turned even uglier, with television cameras in the tunnel capturing footage of Guardiola and Wigan manager Paul Cook in a major verbal confrontation and being kept apart by staff.
City might have enjoyed a far more comfortable evening had their record goalscorer Aguero not missed a golden opportunity after just two minutes, heading over Bernardo Silva's pinpoint cross from just six yards.
And home keeper Christian Walton needed to be alert a few moments later, diving smartly to parry away a fierce strike from Ilkay Gundogan.
Guardiola had made six changes for the tie, while still fielding a strong line-up, but two of his fringe players - full-back Danilo and back-up goalkeeper Claudio Bravo - were guilty of errors which offered the hosts a glimmer of hope.
First Bravo and Danilo dithered in dealing with the ball, almost presenting Gareth Roberts with a chance on the six-yard line.
And then Danilo was robbed of the ball by Roberts, the ball breaking for Grigg who raced half the length of the field before shooting into the side-netting.
City were enjoying the bulk of possession but, without the rested Kevin De Bruyne and Raheem Sterling, were struggling to create clear chances.
They came close, from Leroy Sane's 26th-minute corner which Gundogan flicked across the six-yard area, but defender Aymeric Laporte failed to connect with the ball at his feet.
When City next threatened, after Stones headed down Delph's cross, Fernandinho's shot rose over by some distance when he looked certain to score.
Gundogan and Danilo, twice, also threatened the Wigan goal and Walton saved superbly from an Aguero drive, moments before the explosive dismissal of Delph.
Guardiola brought on England right-back Walker as a half-time substitute, moving Danilo over to Delph's vacant left-back spot.
Despite their disadvantage, City still enjoyed the majority of possession although, apart from Chey Dunkley blocking a Danilo shot, there was little to concern Walton as the tie approached the 65-minute mark and Guardiola opted to bring De Bruyne into the fray.
The Belgian's introduction brought a far greater threat from City, particularly from set-pieces.
On 73 minutes, De Bruyne found Aguero at the near-post but his shot was blocked and Danilo maintained the pressure with a low centre across the goalline before Grigg's dramatic intervention.