York kept their hopes alive for automatic promotion with a 1-1 draw against Oldham at LNER Community Stadium.
Remaining in the title race, York couldn't afford to lose to stay within reach of league leaders Barnet, who triumphed 3-1 against Sutton.
Joe Felix put York ahead with a powerful shot from outside the box in the 31st minute.
Oldham managed to level the score with a header from Charlie Raglan in the second half, securing a point for the visitors.
With just two games left, York trails Barnet by six points and faces an uphill battle to avoid the playoffs.