Marc Richards' late free-kick ensured Northampton continued their unbeaten start to the season following a late 1-1 draw away at York.
Anthony Straker's strike looked set to give the hosts all three points until Richards' 90th-minute contribution.
The visitors almost made the perfect to start to the match inside the opening three minutes with Ivan Toney carelessly dragging an 18-yard effort wide despite having time and space.
The striker was almost made to pay for his miss as York's Lindon Meikle raced clear one-on-one against Matt Duke but he could only shoot straight at the goalkeeper.
Toney was having an eventful game and he was inches away from giving his side the lead on 30 minutes only for City defender Marvin McCoy to clear his effort off the line.
York had upped the pressure after the break and they took the lead in the 67th minute with Duke unable to stop Straker's low corner from creeping in at the near post.
There would be one final goal in the game, though, with Northampton preserving their unbeaten start to the season as Richards powered home a 90th-minute free-kick.