York confirmed National League survival after Shaq Forde’s late equaliser earned them a 1-1 drew at Notts County.
Macaulay Langstaff’s 42nd goal of the season put County in front as the division’s top-scorer got on the end of Ruben Rodrigues’ ball just before the break.
York had goalkeeper Ryan Whitley to thank for keeping the deficit to won as he made a series of impressive saves, notably denying Sam Austin and keeping out Cedwyn Scott’s deflected header.
And Forde levelled in the 88th minute, sending a cool finish past Sam Slocombe at his right-hand post.
Whitley still had to be alert to deny the dangerous Rodrigues in added time as York, already all but safe, ensured they would be staying up.
Second-placed County’s next assignment is a play-off semi-final against either Barnet or Boreham Wood.
Subscribe or register today to discover more from DonegalLive.ie
Buy the e-paper of the Donegal Democrat, Donegal People's Press, Donegal Post and Inish Times here for instant access to Donegal's premier news titles.
Keep up with the latest news from Donegal with our daily newsletter featuring the most important stories of the day delivered to your inbox every evening at 5pm.