Rejuvenated Witton Albion left it late but eventually progressed in the UniBond Challenge Cup on Tuesday night.
Visiting Marine, looking to gain revenge over Witton for the recent 2-0 home defeat in the league, controlled the game for the first 60 minutes and went into half-time 1-0 thanks to a goal from skipper Phil Brazier.
But Witton, still unbeaten in 2009, hit back thanks to an own goal from the hapless Joe McMahon on 59 minutes.
Then with three minutes to go McMahon almost did the same again with a bullet header that crashed off the bar.
Ashley Dunn was the first to react and he smashed the ball through a crowd of players to win the tie for the Albion.
Witton, who looked tired and handed debuts to Paul Williams from Prescot Cables and Michael Warwick, will now play Guiseley at home on Saturday, February 7 in the quarter-finals.
It also means that rivals Northwich Victoria will not be able to play at Wincham Park that day if they are still locked out of their Marston’s Arena ground.
Vics are due to play Ebbsfleet United at home but are currently unable to gain access to the stadium.
This Saturday, Witton travel to UniBond Premier leaders Eastwood Town (3pm) who are unbeaten at their Coronation Park ground this season.