Non-league Nuneaton set up an FA Cup third round clash against Steve McClaren`s Middlesbrough with a last-gasp 2-1 win over Histon at the Glassworld Stadium.
The visitors had the best of the first half in a tightly-contested replay but it took a last-minute header from Neill Moore to secure the win.
The Conference North side weathered some early pressure from Histon but took the lead after 35 minutes when defender Rob Oddy forced a shot under goalkeeper Lance Key.
But the home side hit back on the hour after Colin Vowden forced in a cross from Leon Gutzmore.
Chances were scarce in the closing stages and neither team dared to venture forward for fear of being caught out by their opponents.
Matthew Haniver came close to pulling Histon back into the game but his low drive bobbled wide with goalkeeper Darren Acton beaten.
But Moore rose highest in the 90th minute to force home a corner from David Staff and secure a plum tie against Middlesbrough.