Chester climbed into the top ten on Friday with a 2-1 win over Hartlepool.
City were made to work hard for victory, though, as they were forced to come from behind at The Saunders Honda Stadium.
Hartlepool's opener came in the most bizarre of circumstances, as Joel Porter scored one of the most fortunate goals of his career.
City keeper John Danby tried to clear a backpass from Dave Artell, but the clearance crashed into the torso of Porter and trundled over the line.
Hartlepool were reduced to ten men on 17 minutes as Jon Daly was sent off for a professional foul on Artell.
Chances were traded for the rest of the half and Chester drew level deep into injury time as Ashley Westwood scored his first goal for the club after Dimitrios Konstatopoulos had pushed a cross into his path.
Chester took the momentum forward after the break and Jon Walters fired them ahead on 52 minutes.
The home side were the more dominant in the final 30 minutes and it was only good keeping from Konstatopoulos that prevented them from adding to their tally.
Click below for a match summary:
Chester v Hartlepool