Ben Hutchinson's late strike from the penalty spot gave Mansfield victory over Hayes & Yeading.
Julian Owusu put the visitors ahead from close range, but Ross Dyer equalised with a 20-yard drive.
Louie Soares restored Hayes' lead with a 25-yard strike, but Matt Green scored from close range to make it 2-2.
Daniel Wishart brought down Gary Roberts in the box in the final minute, with Hutchinson converting the penalty to secure victory for Mansfield.
VIEWS FROM THE DRESSING ROOM
Mansfield Town manager Paul Cox told BBC Radio Nottingham:
"I think when the penalty came, I thought we'd probably missed our chance with some of the chances we'd missed throughout the game.
"(Ben Hutchinson) Hutcho, to be fair, has come on and done well throughout the game and he's stuck his penalty away, like we know he can.
"I think for 70 minutes we weren't the team we were in the last 20. In that last 20 we played some real fluid football in tough conditions and created some great chances."