League One Derby left it late to avoid an upset at Crewe as last-gasp goals from Nathaniel Mendez-Laing and Conor Hourihane secured a 2-2 draw at Gresty Road.
Goals from Courtney Baker-Richardson and Elliott Nevitt in either half had swept the League Two front-runners into a two-goal lead and the Rams fell away after dominating the first period.
Crewe goalkeeper Harvey Davies saved Conor Washington’s header with his leg and Baker-Richardson cleared Sonny Bradley’s set-piece header off the line.
The Railwaymen were dangerous on the break and Joe Wildsmith blocked a Rio Adebisi effort after Ryan Nyambe lost possession on the edge of the box.
Tom Barkhuizen dragged an effort past a post and Washington curled over, but the visitors were caught out when Adebisi delivered a superb cross to the far post where Baker-Richardson finished in the 41st minute.
Wildsmith saved from Nevitt and Conor Thomas either side of the interval, but Mendez-Laing should have equalised when Korey Smith delivered a cross and the attacker headed over with the goal at his mercy.
Nevitt’s finishing, though, was spot on as he took Baker-Richardson’s pass and fired in off the far post in the 54th minute.
Paul Warne made a raft of changes and Kane Wilson’s lofted drive was saved by Davies at the near post and another Rams substitute, James Collins, saw a close-range finish chalked off for offside.
With time running out Mendez-Laing’s 89th-minute shot slipped through Davies’ hands to reduce the arrears and the attacker then set up Hourihane, who finished into the top corner in the third minute stoppage time.