Chesterfield were forced to keep the promotion champagne on ice as the runaway National League leaders were thrashed 4-2 at Halifax.
The Spireites only needed a point to rubberstamp their place in League Two but instead were beaten by the in-form Shaymen, who moved into the play-off places after a seventh win in eight games.
Paul Cook’s front-runners took the lead shortly after the half-hour when top-scorer Will Grigg prodded home a rebound off the post, but were behind within eight minutes as Rob Harker snapped up a quick-fire double.
Halifax made it 3-1 just before the break through Andrew Oluwabori, who then turned provider for Aaron Cosgrave in the 66th minute.
James Berry-McNally raced clear to grab one back with 11 minutes left but Chesterfield were unable to fashion the comeback that would have secured top spot in the division.
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.