Ben Cohen struck in the 85th minute to earn Knaresborough Town a 2-2 draw at Pontefract Collieries in NCEL Division One.
Paul Stansfield’s high-flyers looked to be heading for defeat against their promotion rivals, but substitute Cohen’s first goal for the club rescued a point.
The home side were the quicker starters and an early Chris Jackson shot was deflected against the post before Jack Rushworth saved well to deny Chris Wood.
Pontefract then went ahead in the seventh minute when Jordan Turner held up the ball on the right side of the penalty area before squeezing a shot home from a narrow angle.
Knaresborough responded quickly and were back on terms within three minutes when Seb Carole and Jonty Maullin combined to set up Colin Heath who netted from just inside the penalty area.
Rushworth then saved again to keep out a Wood header from a Mark Whitehouse free-kick, but soon afterwards Heath went close again when he shot over following a Brad Walker centre.
Turner fired wide and Rushworth saved well with his legs when Jackson broke free of the defensive line, but Pontefract were then awarded a penalty when Tom Hesketh committed a foul on the edge of the area.
Wood stepped up for the kick but Rushworth dived low to his right to push the ball wide.
Whitehouse went close again for Ponte’ before Walker had a shot saved just before the break, Heath almost converting the rebound.
Walker shot wide of the home goal early in the second period before Turner had a good run and fired wide at the other end.
Maullin then conceded a second penalty as he tried to clear following more home pressure and this time, Wood managed to convert to make the score 2-1.
Heath and Carole both went close for Town before Turner was sent off for a second yellow card in the space of three minutes and Knaresborough then pressed hard for the equaliser.
Witht time running out, Walker created space on the left before crossing into the danger area where Carole was able to feed the ball back in for Cohen to score his maiden goal in a Town shirt from close range.
There was still time for Jackson to shoot over for Pontefract before Heath had a weak back-header saved and a late Cohen shot flew over as the game ended with the points shared.