Gateshead edged out of the National League relegation zone but were denied all three points late on as York recovered to claim a 2-2 draw.
Danny Elliott put the north east side in front on the half-hour mark, slotting in after exchanging passes with Dan Ward.
Mitch Hancox equalised for York in the 38th minute with a lob over the goalkeeper from outside the area after he received the ball from Lenell John-Lewis.
Ward restored Gateshead’s lead in first-half stoppage time with a curling strike but Shaq Forde seized on a chance in the final minute of normal time to grab a point for the Minstermen.
It was a measure of revenge for York, who lost 3-0 at home to Gateshead on Boxing Day. The point lifted them one place to 16th.
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.