Match ends, Maidstone United 2, Stevenage 1.
Frannie Collin's late header put seventh-tier Maidstone United through to the second round of the FA Cup at the expense of League Two Stevenage.
Collin rose to meet Ben Greenhalgh's cross to book the Isthmian Premier Division side a meeting with Wrexham.
He had earlier put Maidstone ahead from a rebound, only for Darius Charles to volley an equaliser for Stevenage.
But Collin had the last word, sending Maidstone to round two for the first time since they reformed in 1992.
Their victory was also the first match in the main draw of the FA Cup to be played on a 3G artificial surface.
A goalless draw at Stevenage had earned the Stones a replay at the Gallagher Stadium, the ground they moved into in 2012 on their return to the town after a 24-year absence.
They were ahead inside two minutes, with Jay May running onto a flick and seeing his shot parried by Stevenage keeper Chris Day into the path of Collin, who finished from an angle.
The visitors, 60 places above Maidstone in the league pyramid, remained vulnerable to long balls all night, but they improved and put pressure on the home goal, with Lee Worgan called on to save from Lee Barnard and Roarie Deacon.
The Boro got their reward after half-time when Simon Walton turned two defenders on the Maidstone left and crossed for Charles to volley home from 12 yards out.
From there, it was Stevenage who looked more likely winners - Worgan again forced to deny Chris Whelpdale - only for the visitors to be caught out late on.
Greenhalgh surged down the left and crossed to Collin, whose header sent Maidstone to Conference side Wrexham on Saturday, 6 December.
- 4CoyleBooked at 16mins
- 7BodkinSubstituted forGreenhalghat 79'minutes
- 8ParkinsonBooked at 90mins
- 10CollinSubstituted forBrownat 89'minutesBooked at 90mins
- 23OkimoSubstituted forDembeleat 81'minutes
- 12McAllisterSubstituted forJebbat 90+1'minutes
- 34DeaconBooked at 62minsSubstituted forAdamsat 81'minutes
- 37BarnardBooked at 16mins
- Simon Hooper
- Shots on Target
Second Half ends, Maidstone United 2, Stevenage 1.
Jack Parkinson (Maidstone United) is shown the yellow card.
Charlie Lee (Stevenage) wins a free kick in the defensive half.
Foul by Jay May (Maidstone United).
Corner, Maidstone United. Conceded by Bira Dembele.
Foul by Jack Jebb (Stevenage).
Ben Greenhalgh (Maidstone United) wins a free kick in the attacking half.
Foul by Bira Dembele (Stevenage).
Jay May (Maidstone United) wins a free kick in the attacking half.
Substitution, Stevenage. Jack Jebb replaces David McAllister.
Attempt missed. Darius Charles (Stevenage) header from the centre of the box misses to the right. Assisted by Simon Walton following a set piece situation.
Alex Brown (Maidstone United) is shown the yellow card.
Charlie Adams (Stevenage) wins a free kick in the attacking half.
Foul by Jack Parkinson (Maidstone United).
Substitution, Maidstone United. Alex Brown replaces Frannie Collin.
Goal! Maidstone United 2, Stevenage 1. Frannie Collin (Maidstone United) header from the centre of the box to the bottom left corner. Assisted by Ben Greenhalgh with a cross.
Attempt saved. Chris Whelpdale (Stevenage) right footed shot from the centre of the box is saved in the centre of the goal. Assisted by Charlie Lee with a through ball.
Attempt blocked. Charlie Adams (Stevenage) left footed shot from outside the box is blocked. Assisted by Simon Walton.
Foul by David McAllister (Stevenage).