Emile Smith Rowe came off the bench to fire holders Arsenal into the FA Cup fourth round with an extra-time goal against Newcastle – but only after he had a red card overturned by VAR.
The substitute was given his marching orders by referee Chris Kavanagh for a tackle on Sean Longstaff at the end of the 90 minutes, but the card was downgraded to a yellow after the pitchside monitor was used.
It proved decisive with Smith Rowe grabbing the opener in the 109th minute before captain Pierre-Emerick Aubameyang confirmed the victory eight minutes later with a tap-in to wrap up a 2-0 success.
Smith Rowe said: "I was really happy, a bit of a relief for me with the incident before [the overturned red card] – it definitely wasn't intentional – happy to get the goal and get through to the next round.
"We knew how tough it was going to be, they're a tough opponent. It was about breaking them down. From a young kid I have always wanted to play for this club, I am really happy."
Gunners manager Mikel Arteta had to turn to the bench to ensure their FA Cup defence did not end at the first attempt, while his Newcastle counterpart Steve Bruce was left to rue Andy Carroll's wastefulness in front of goal.
Holders Arsenal made a number of changes for the third-round tie but predictably there was no place for Mesut Ozil in the squad, while an injury to Gabriel Martinelli in the warm-up saw his night end prematurely.
It was the visitors who enjoyed the better of the play in the opening exchanges and although Aubameyang forced the returning Martin Dubravka into an excellent save midway through the half, he would have been deemed offside by VAR.
A better chance was created soon after by Kieran Tierney, but Reiss Nelson decided to control his cut-back and the opportunity went begging.
While Arsenal began to dominate, they still struggled to penetrate an organised Newcastle back five though Carroll was required to make two timely clearances from dangerous balls into the area before half-time.
Following a lacklustre first 45, when captain Aubameyang touched the ball only 18 times while playing in his favoured central position, it was a surprise to see the away side make the first change.
Skipper Jamaal Lascelles, who made his first appearance since November 21 after recovering from coronavirus, was replaced by Matt Ritchie and the substitute slotted in at left wing-back.
Gunners manager Arteta had already seen enough by the time Carroll fired a glorious opportunity wide 11 minutes into the second period.
David Luiz's clearance was poor and Jeff Hendrick's scuffed shot came to the Magpies forward, but he side-footed past the post from six yards and Smith Rowe was finally able to enter the fray.
Arsenal should have broken the deadlock on the hour mark, but Aubameyang again did not have the Midas touch in front of goal and poked wide with only Dubravka to beat.
Newcastle's goalkeeper was making his first appearance of the season following a heel injury and was required minutes later to keep out Joe Willock's close-range header.
It was the midfielder's last involvement following a double substitution with Bukayo Saka and Granit Xhaka introduced and the changes worked, with Aubameyang more prominent, but Bruce's side almost clinched victory at the end of the 90.
With results decided on the day at this stage of the competition, both teams pushed for a winner and a quick break by the visitors saw Elliot Anderson's shot fall for Carroll and yet Bernd Leno saved well and bravely pushed away the loose ball before the forward could score the rebound.
The stoppage-time drama was not over, with substitute Smith Rowe shown a red card for a high tackle on Sean Longstaff – but referee Chris Kavanagh downgraded his decision to a yellow after he used the pitchside monitor.
Xhaka forced Dubravka into a wonderful save from his fierce volley early in the first half of extra time before the opener arrived.
Arteta saw three of his substitutes combine, with Saka involved before Alexandre Lacazette headed into Smith Rowe's path and the playmaker fired into the bottom corner.
There was still time for Aubameyang to grab only his sixth of the season eight minutes later when he tapped in Tierney's centre to send the holders into the fourth round.
Magpies manager Bruce said: "You have to take your chances when they come along, we had the opportunity in the final few minutes and didn't grasp it. As a cup tie, it could have gone either way and we rue the missed chances.
"I though Andy [Carroll] did fantastically well, if he had topped it off by scoring a goal it would have been good for him. A lot of pleasing things, we've had a tough run of fixtures but we dust ourselves down and go again."