Tony Taggart hit the only goal as Conference South side Havant & Waterlooville shocked Notts County to reach the third round of the FA Cup.
The former Brentford trainee sprinted clear to score with just three minutes to go at Meadow Lane to dump the League Two outfit out of the competition.
Keeper Kevin Scriven made a brillant save for the non-league team to keep out Neil MacKenzie's effort for County.
In added time Lawrie Dudfield failed to grab an equaliser with a poor header.
Havant and Waterlooville manager Shaun Gale:
"On the balance of play we deserved it. We frustrated them. Apart from the last 20 minutes, when they threw everything at us, we had control.
"A replay is alright for money but our most important thing was to be in the next round and we've made history for this club."
Notts County: Pilkington, Canoville, Tann, Hunt, Mayo, Somner, MacKenzie (Butcher 79), Silk (Lee 59), Dudfield, Sam, Weston (Weir-Daley 64).
Subs Not Used: Sandercombe, Pearce.
Havant & Waterlooville: Scriven, Gregory, Poate, Smith, Sharp, Harkin, Oatway (Wilkinson 46), Collins, Potter (Gurney 90), Pacquette (Taggart 48), Baptiste.
Subs Not Used: Taylor, Warner.
Booked: Taggart, Gurney.
Goals: Taggart 87.
Ref: Jarnail Singh (Middlesex).