Clayton Donaldson netted his 20th goal of the season as Crewe stunned leaders Chesterfield 2-0 at Gresty Road on Saturday.
Danny Shelley scored a late free-kick to seal the game as Crewe claimed their first clean sheet in 14 games and the Spireites saw their lead cut to 10 points.
Dean Smalley and Craig Davies had shots easily saved by Crewe goalkeeper Rhys Taylor as the leaders made the early running.
Donaldson nearly gave Crewe the lead when he cut inside and unleashed a shot which deflected off Gregor Robertson and hit the upright.
But Donaldson did put the Alex in the driving seat before half-time when he picked up Luke Murphy's pass, bamboozled Robertson and netted with a low finish.
Then substitute Shelley sealed the game with a long-range daisy-cutter free-kick with four minutes to go.