FC Copenhagen had to come from behind to preserve their unbeaten record in the SAS Liga as a last-gasp goal from Solvi Otteson edged out Lyngby 3-2.
Kenneth Zohore fired FCK in front after 12 minutes, but Lyngby drew level nine minutes later through Kim Aabech.
A shock result then looked on the cards when Lasse Rise put Lyngby ahead five minutes from time, but the hosts responded with a Morten Nordstrand goal two minutes later before substitute Otteson grabbed the winner in the dying seconds.
The result sees FCK stretch their lead at the top of the standings to 17 points, while Lyngby remain a distant fifth.
Basement side AaB battled out a goalless draw at Randers and now sit just one point behind Esbjerg.