Non-league Stockport County stunned League One Bolton Wanderers in a thrilling FA Cup first-round replay that saw eight goals, a pitch invasion, a lost shirt and a missing corner flag.
The National League side had trailed 2-0 and 3-1 before Scott Quigley gave them hope and then Ashley Palmer, who earlier scored an own goal, headed in with five minutes left to take it to extra time.
Quigley's smart, lofted finish at a packed Edgeley Park then put the home side ahead before substitute Ollie Crankshaw added a fifth at the death to spark wild celebrations.
A delighted Crankshaw had to wear a replacement shirt for the final few seconds after losing his in the chaotic scenes that followed, and the referee could not blow for the final whistle until a corner flag was returned by spectators who had spilled on to the pitch.
"Unbelievable game, this competition has provided things like that in the past but you'll go a long way to match something like that," said Stockport boss Dave Challinor.
Quigley, who joined Stockport in the summer with the club looking to return to the English Football League for the first time in a decade, added: "The fans were superb.
"I knew this was a big club but I didn't realise how big they were. They have something special here.
"As soon as you score and hear the roar, you see the nerves going through their veins. I've been involved in some big ties but that's probably the greatest one I've been in."
Bolton had gone 2-0 up inside six minutes in a disastrous start for the hosts and then led 3-2 at the break.
Ashley Palmer made up for an own goal with an equaliser late on in normal timeElias Kachunga opened the scoring after 68 seconds when his long-range effort deflected beyond goalkeeper Ethan Ross, before Palmer turned into his own net five minutes later.
Paddy Madden pulled one back from the spot, but Amadou Bakayoko tapped in to re-establish Bolton's lead after County defender Mark Kitching headed the ball beyond onrushing goalkeeper Ross.
Quigley flicked in a header as Stockport responded again in a frantic first half and Palmer then nodded in from a corner to draw them level in a dramatic finish to normal time.
It was Stockport who took a deserved lead five minutes into extra time thanks to Quigley's composed effort, before Crankshaw wrapped up the tie on the break to book a trip Rotherham in the second round.
"It was a special night here. A special night for the supporters, for the owners," said Challinor, who took charge earlier this month.
"Hopefully we can replicate more special nights - I'm thankful we can provide some enjoyment so early after coming in."
Bolton boss Ian Evatt says his side were not good enough "from minute one to minute 120".
"They have given us a leg up with two goals we did not deserve," he told BBC Sport. "They wanted it more, played with a better tempo and credit to them, they were fantastic. We were very poor.
"This is what can happen in the FA Cup, if you are not how it should be at full tilt for a war, you will get beaten and that is what happened tonight."
Line-ups
Stockport
Formation 3-5-2
26Ross
16Keane5Palmer3Kitching
7Southam-Hales14Collar18Croasdale23Sarcevic17Rydel
9Madden22Quigley
26Ross16KeaneSubstituted forMinihanat 90'minutes5Palmer3Kitching7Southam-HalesSubstituted forBarclayat 103'minutes14CollarSubstituted forRaikhyat 68'minutes18Croasdale23SarcevicSubstituted forCrankshawat 75'minutesBooked at 120mins17Rydel9MaddenBooked at 33mins22QuigleySubstituted forReidat 105'minutesSubstitutes
1Hinchliffe2Minihan4Hogan6Barclay11Jennings15Raikhy19Reid27Crankshaw28PyeBolton
Formation 4-3-3
12Dixon
23Isgrove5Almeida Santos6Johnston3John
8Sheehan25Thomason20Lee
24Kachunga11Bakayoko17Afolayan
12Dixon23IsgroveBooked at 81mins5Almeida Santos6Johnston3JohnSubstituted forGordonat 100'minutes8SheehanBooked at 34minsSubstituted forAimsonat 45+3'minutes25Thomason20Lee24KachungaBooked at 88mins11BakayokoSubstituted forDelfounesoat 74'minutes17AfolayanSubstituted forAmaechiat 77'minutesBooked at 102minsSubstitutes
1Gilks7Delfouneso14Amaechi15Aimson27Baptiste29Gordon42Tweedley48Henry49PettiferLive Text
Match ends, Stockport County 5, Bolton Wanderers 3.
Second Half Extra Time ends, Stockport County 5, Bolton Wanderers 3.
Oliver Crankshaw (Stockport County) is shown the yellow card for excessive celebration.
Goal! Stockport County 5, Bolton Wanderers 3. Oliver Crankshaw (Stockport County) right footed shot from the centre of the box to the bottom left corner. Assisted by Arjan Raikhy.
Offside, Bolton Wanderers. George Thomason tries a through ball, but Nathan Delfouneso is caught offside.
Foul by Will Aimson (Bolton Wanderers).
Alex Reid (Stockport County) wins a free kick on the left wing.
Foul by Nathan Delfouneso (Bolton Wanderers).
Arjan Raikhy (Stockport County) wins a free kick in the defensive half.
Attempt blocked. George Johnston (Bolton Wanderers) left footed shot from outside the box is blocked.
Nathan Delfouneso (Bolton Wanderers) wins a free kick in the attacking half.
Foul by Ben Barclay (Stockport County).
Attempt missed. Elias Kachunga (Bolton Wanderers) header from the centre of the box is close, but misses to the right. Assisted by Xavier Amaechi with a cross following a corner.
Corner, Bolton Wanderers. Conceded by Ethan Ross.
Second Half Extra Time begins Stockport County 4, Bolton Wanderers 3.
Substitution, Stockport County. Alex Reid replaces Scott Quigley.
First Half Extra Time ends, Stockport County 4, Bolton Wanderers 3.
Substitution, Stockport County. Ben Barclay replaces Macauley Southam-Hales.
Will Aimson (Bolton Wanderers) wins a free kick in the defensive half.
Foul by Oliver Crankshaw (Stockport County).