York City 1 Wrexham 3
Mon 17th Apr 3.00pm
York City are still only avoiding a relegation place on goal-difference after failing to build upon the boost of an early Jon Parkin goal against Wrexham at Bootham Crescent.
But the visitors fought back well to totally upset the recent form-book, with Jordan White replying twice before substitute Leo Smith's injury-time clincher.
Meanwhile, there were crucial victories elsewhere for Woking, Solihull Moors and Torquay United, the latter at the expense of relegation rivals Braintree Town.
The Minstermen made a single enforced change with on loan defender Hamza Bencherif ineligible to face his parent club and being replaced by Shaun Rooney. Danny Holmes recovered from the thigh injury sustained in the victory at Solihull on Good Friday.
But there was an instant scare for them with former City loanee Ntumba Massanka forcing Scott Loach into a hurried block, with the ball then coming straight back off the Burnley youngster and bouncing out of play.
However, York went straight down the other end for Parkin's effort to squeeze past Shwan Jalal at the second attempt for his twelfth goal since returning to the club.
Dragons striker White dragged wide in reply and Asa Hall lifted over at the opposite end before there was a sudden round of applause on fourteen minutes to mark the anniversary of the passing of legendary hero Keith Walwyn.
Massanka was soon threatening again but poked wide as Loach and Rooney tried to avert the danger. Vadaine Oliver's speculative drive was desperately wayward despite a splendid turn while Alex Whittle's cross couldn't quite locate the supporting Parkin.
Wrexham equalised on the half-hour when White scrambled in following Anthony Barry's delivery from the right being helped on and initially blocked by Loach - and possibly even coming off Daniel Parslow in the end.
Former York skipper Russell Penn immediately struck a 20-yard effort behind while Amari Morgan-Smith's cross was headed down by Oliver but Parkin couldn't direct his shot on target.
Parkin soon steered over from another assist by Oliver after Loach's long clearance, before Sean Newton's injury-time free-kick was knocked down by Parslow and scrambled away from the waiting Morgan-Smith.
Morgan-Smith almost reached a Newton cross attacking towards the David Longhurst Stand at the start of the second-half, and then skipper Simon Heslop wastefully side-footed over from ten-yards after strong work by Parslow.
On loan midfielder Penn proved wide for the visitors from distance following a sharply-taken free-kick, but his side were soon in front when White volleyed in from James Jennings' deflected cross.
York's in-form striker Oliver headed just wide when Newton's ball was knocked on by Morgan-Smith, who then broke superbly on the turn but could only finish directly at keeper Jawal, with Parkin waiting for the pass.
Sam Muggleton replaced Rooney with fifteen minutes remaining while Loach expertly turned away from Jennings before Penn was cautioned for bringing down Morgan-Smith.
Carrington next covered the danger of Oliver and Morgan-Smith volleyed a Holmes cross straight at Jalal. Carrington also thwarted Parkin from Muggleton's long throw while Loach chased out to meet Whittle's loose back-header.
But substitute Smith stole inside the area from a throw-in to settle it for the visitors in the first minute of added time, despite Oliver then being superbly denied by Jalal.
York City: Loach, Rooney (Muggleton 74), Parslow, Newton, Holmes, Heslop, Hall (Connolly 82), Whittle, Morgan-Smith, Parkin, Oliver
subs (unused): Fenwick, Moke, Letheren
Goals: Parkin (2)
Wrexham: Jalal, Carrington, Marx, Riley, Jennings, Shenton (Smith 82), Penn, Barry, Rutherford, White, Massanka
subs (unused): Dunn, Allen, McLeod, Harry
Goals: White (30, 58), Smith (90)
Ref: A. Backhouse
Att: 4,091 (879 Wrexham)