Notts County were edged out 3-2 in a thrilling National League encounter at Wrexham when Cedwyn Scott's penalty in added time was saved by veteran keeper Ben Foster.
The Magpies had taken the lead when John Bostock's superb curling free-kick on the stroke of half time nestled in the back of the hosts' net, only for Paul Mullin to equalise four minutes after the restart.
Jacob Mendy then put the hosts in front after being found at the back post for a tap-in, with Kyle Cameron levelling the scores minutes later, setting up a grand stand finish between the title rivals at the Racecourse Ground.