Simon Woods got the winner as AFC Portchester marched on in the FA Vase.
His strike earned a 3-2 win at Bradford Town as the match approached extra-time.
That came after two fine late saves by Portchester keeper Luke Hutchings denied Town striker Sam Jordan.
Manager Graham Rix also took the plaudits for his decision to bring Louie Castles on, with Portchester 2-1 down.
Castles immediately went clear to set up Woods to net the equaliser.
The substitute then touched on a free-kick from Craig Hardy, for Woods to win the contest.
Rix felt Portchester put in a poor performance.
He said: ‘We were very poor and didn’t deserve to win a match that looked beyond us for long periods.
‘The lads didn’t display any of the standards they have set themselves this season which, from a coaching point of view, is very disappointing.’
Portchester started well and Nathan Kirby hit the crossbar.
Jamie Musselwhite also struck the woodwork, before he then met Danny Thompson’s superb cross to head an opener.
However, the lead lasted just a few minutes before Dan King rolled in an equaliser.
King then blasted his side into the lead with a blistering free-kick.
But Castles played his part and Woods’ brace turned the match around.
‘Of course from a club point of view we are delighted to have won the match and to reach the next round,’ said Rix.
‘If we manage to go on and do well in the competition, the result at Bradford will be remembered – hopefully not the performance.’
AFC Portchester: Hutchings, Maddison, Fancey, Salter-Vaile, Audin, Hardy, Thompson, Bye, Musselwhite, Kirby, Woods. Subs: Pottage, Horsted, Crosswell, Castles, Black.