Mario Gomez put Germany ahead against the run of play in the 19th minute and Patrick Helmes added a second in the 73rd.

However, Dennis Rommedahl and Mads Junker struck back to ensure that Morten Olsen's side earned a draw in Copenhagen.

Both coaches were deprived of the majority of their regular first-team squads for this friendly match, which fell at an unfortunate time with domestic seasons on the verge of beginning and numerous players, mainly from the regular Germany squad, only just back in training following the World Cup.

Denmark's players have had a longer holiday this summer following their early elimination in South Africa and they looked fresher early on.

Daniel Agger went close with a header in the seventh minute before a succession of dangerous free-kicks from Christian Eriksen threatened Tim Wiese's goal.

Yet it was the visitors who went ahead with their first attack in the 19th minute.

Thomas Hitzlsperger was the provider, although his finely-threaded throughball seemed to be aimed at Toni Kroos, although it fell perfectly for Gomez to collect and place past Thomas Sorensen from 10 yards.

Denmark had the chance to level before the break when Rommedahl, making his 100th international appearance, was given the ball inside the area by Johnny Thomsen, but Wiese pushed his effort wide.

The hosts started with a flurry in the second half and Nicklas Pedersen was unfortunate to see his shot deflect off Jerome Boateng and be cleared off the line by Serdar Tasci.

Agger could only find the post when Wiese parried a free-kick from out wide in the 55th minute as Denmark continued to probe.

But Germany responded with their best spell of the game.

Aaron Hunt's 25-yard shot was pushed onto the outside of the post by Sorensen, who then gifted Gomez the chance to score a second, but the Bayern Munich striker lifted his shot over the crossbar from close range.

Helmes then took his first chance of the game shortly after coming onto the field to double Germany's advantage, beating Sorensen with a well-placed shot into the far corner after beating the offside trap.

However, Rommedahl took advantage of a defensive error from Christian Trasch to beat Wiese from the edge of the penalty area and give Denmark hope less than 60 second later.

And Junker completed the comeback with three minutes remaining, making the most of another defensive error, this time from Wiese, who was caught in two minds whether he could catch the ball right on the edge of his area and let the ball bounce down off his chest to the Danish striker.

Gomez had failed in a one-on-one with Sorensen moments earlier, but Denmark were good value for the draw, even though their goals were gifts from the Germany defence.