Denmark left it late to maintain their perfect home record against Iceland in Tuesday's European Championship qualifier in Copenhagen.
The Danes had won all eight of their previous meetings with their rivals on home soil but needed an injury-time goal from Thomas Kahlenberg to open their campaign with a victory.
Iceland already look unlikely to qualify from Group H having also lost to Norway on Friday.
The hosts had much of the better of the early stages without creating a real clear-cut chance.
The lively Michael Krohn-Dehli tried his luck on a couple of occasions while Dennis Rommedahl set up Kahlenberg for a shot straight at Gunnleifur Gunnleifsson.
Rommedahl was proving a real thorn in Iceland's side and on the half-hour mark he played in Christian Eriksen but the defence managed to block his shot.
The visitors had created almost nothing but with eight minutes left Rurik Gislason tested Anders Lindegaard from 20 yards.
Rommedahl ended the half by firing just wide but it was Iceland who should have scored just after the break, Kristjan Orn Sigurdsson failing to get enough on Aron Einar Gunnarsson's dangerous free-kick.
The game was becoming more open, with Rommedahl going close at one end before Birkir Saevarsson was denied by Anders Lindegaard from a tight angle.
Denmark had another sight of goal in the 69th minute when Lars Jacobsen picked out Nicklas Pedersen for a header just over the bar.
Time was running out and, after an escape when substitute Kolbeinn Sigthorsson steered a shot just wide, Denmark made the breakthrough a minute into added time.
Inevitably Rommedahl was involved and it was his cross that picked out Kahlenberg, who guided the ball into the bottom corner.