Andy Mangan secured a dramatic late winner in the fourth minute of injury time as Wrexham sunk Darlington 2-1 at The Racecourse.
Wrexham took the lead in the tenth minute.
Chris Maxwell's goal-kick was flicked on first by Gareth Taylor and then Andy Morrell, setting up Mangan who fired past former Reds' shot-stopper Sam Russell from just inside the area.
But Darlington, beaten 1-0 when the sides met at the start of October, equalised after 58 minutes.
Chris Moore's cross from the right was not cleared, Daniel Hone struck the bar with an overhead kick and Liam Hatch converted the loose ball from close range.
But Wrexham grabbed the winner in the fourth minute of stoppage time.
Curtis Obeng delivered an excellent cross from the right and Mangan planted an unstoppable header beyond Russell.
WREXHAM (4-3-3): Maxwell; Obeng, Andrews, Creighton, Blackburn; Harris, Keates, Tolley (Ceslewicz 90); Morrell (Knight-Percival 84), Taylor (Pogba 76), Mangan. Subs not used: Brown, Sinclair.