Stuart Drummond's second-half double capped a stunning fightback as Chester finally secured their League Two status with a draw with Bristol Rovers.
Rovers had taken the lead when Aaron Lescott's shot was deflected into the path of Ryan Williams, who rifled home.
Rovers' advantage was doubled on 30 minutes when Williams crossed to the far post for Junior Agogo to head in.
Chester's fightback began when Drummond scored after good work by Ben Davies and then poked home the leveller.
Chester: MacKenzie, Edmondson (Regan 36), Bolland, Hope, Hessey, Drummond, Carden, Davies, Booth (O'Neill 59), Foy (Michael Brown 90), Lowe.
Subs Not Used: Wayne Brown, Walsh.
Booked: Hessey, Bolland.
Goals: Drummond 60, 72.
Bristol Rovers: Clarke, Edwards, Anderson, Elliott, Lescott, Williams, Hunt, Savage (Disley 74), Ryan, Walker, Agogo.
Subs Not Used: Forrester, Trollope, Bass, Sinclair.
Booked: Ryan, Savage, Walker.
Goals: Williams 23, Agogo 30.
Ref: L Mason (Lancashire).