YORK City conceded for the first time in 13 hours to throw away two points in stoppage-time.
Shay McCartan’s injury-time header earned Accrington Stanley a 1-1 draw at Bootham Crescent and saw Nigel Worthington’s men drop out of the League Two play-off places.
The substitute’s last-gasp equaliser also prevented the Minstermen from matching a club record of eight consecutive clean sheets, set in 1985.
York had forged in front just past the hour mark when Michael Coulson scored his fifth goal of the season from the penalty spot.
City have now failed to net in open play for three matches and were punished for their inability to extend that advantage.
Home manager Nigel Worthington does not want anybody feeling sorry for themselves, however, ahead of Good Friday’s trip to play-off rivals Oxford.
He said: “There is no need to be depressed. We are in a fantastic position and the point could be a very important one. We have got to get our heads up, put smiles on our faces and get ready for Oxford.”
York defender John McCombe had a close-range effort saved and he headed wide from Adam Reed’s free-kick in the first half.
Coulson opened the scoring on 61 minutes after on-loan Rotherham forward Kayode Odejayi handled under pressure from McCombe. But McCartan earned Accrington a draw when he headed in from a corner.
York City: Pope, Oyebanjo, Lowe, McCombe, Davies, Brobbel, Penn, Reed, Hayhurst (Bowman 82), Coulson, Andrew. Unused substitutes: McGurk, Jarvis, Montrose, Platt, Allan, Ingham.
Accrington Stanley: Bettinelli, Buxton (Naismith 66), Aldred, Atkinson, Liddle, Mingoia, Murphy (Molyneux 84), Hunt, Joyce, Gray (McCartan 72), Odejayi. Unused substitutes: Webber, Hatfield, Windass, Bowerman.
Referee: S Duncan (Tyne & Wear).
Man of the match: John McCombe.