Derek Asamoah eased Chester's relegation worries with a late winner against local rivals Macclesfield.
The diminutive striker curled a superb effort into the top corner in injury time for his second of the game.
Asamoah's first gave the hosts the lead on 50 minutes before they were pegged back by a Kevin Townson header.
Chester deserved the victory, with Stewart Drummond, Jake Edwards and Sean Hessey all going close before Asamoah struck with seconds remaining.
Chester: MacKenzie, McNiven, Albrighton, Artell, Regan, Hessey, Asamoah, Drummond, Davies, Edwards, Blundell (Rutherford 85).
Subs Not Used: Harrison, Stephen Vaughan, Dimech, Tait.
Booked: Davies, Asamoah.
Goals: Asamoah 50, 90.
Macclesfield: Lee, Teague, Morley (Townson 59), Swailes, Brightwell, Sandwith, Harsley, Navarro, Whitaker, McIntyre, McNeil.
Subs Not Used: Fettis, Miles, Briscoe, Smart.
Booked: McNeil, McIntyre, Townson.
Goals: Townson 75.
Att: 2,939
Ref: D Drysdale (Lincolnshire).