Yate Town hit back to stun Conference Premier leaders Newport to reach the FA Cup first round for the time in their history.
Aaron O'Connor had given Newport a first half lead with his 12th goal of the season.
Newport captain David Pipe was sent off for a second bookable offence before Tom Knighton equalised from the penalty spot.
Extra-time goals from Scott Thomas and Matt Groves secured a famous victory.
Yate, who are bottom of Southern League Division One South & West, will visit Cheltenham Town in the FA Cup first round.
VIEW FROM THE DRESSING ROOM
Newport County manager Justin Edinburgh told BBC Radio Wales:
"We're bitterly disappointed. We let ourselves down. I can't stand here and defend the players. They know that they've not performed.
"We'll evaluate what's gone wrong over the last two games and make sure that we give everything we can to make sure we put that right on Saturday.
"Give credit where credits due - I wish Yate all the best in the next round."