Germany went into this game knowing that their passage through to the quarter-finals was hardly secure and a loss could potentially mean an early end to their Euro dreams. For Denmark, the equation was simpler. Win and they would go through while a draw would leave them dependent on results in the other Group B game going their way.
The Germans started brightly and were finding a lot of joy on their left, managing to create three decent chances in the opening quarter of the half from that flank. It wasn't long before the Germans made their domination count and it was Podolski, marking his 100th appearance for the Germans, who got the goal in the 19th minute. Denmark failed to deal with a thrown-in from the left which allowed Müller to turn into the box and cut the ball back for Podolski, who finished empathically from close range.
Denmark responded soon after in the 24th minute through a beautifully worked set-piece. From a corner, Jacobsen delivered a inviting cross to the back post and Bendtner rose highest to nod the ball back into the box where Krohn-Dehli was at hand to plant a header firmly beyond Neuer.
As news of Portugal's lead over Netherlands in the other game filtered through the ground, the Germans started to look nervier and the game began to get scrappy with the Germans often guilty of wasting possession. Germany needed another goal to calm their nerves and it came via Bender in the 80th minute, who slid in to finish off a flowing counter-attacking move.
Here, ESPNSTAR.com takes a look at the players that took to the field at the Arena Lviv.
Stephan Andersen - 7
The German custodian was the busier of the two keepers and did reasonably well throughout the game despite conceding two goals. He was called into action early in the game, displaying cat-like reflexes to deny Muller's close range attempt in the 6th minute and keeping his side in the game with a brilliant one-handed save from Schurrle in the 67th minute.
Simon Poulsen - 7
Poulsen had a very good game for his side, doing very well to contain Muller on the right and providing an attacking outlet for his side down the left flank. His overlapping runs troubled Bender the whole night and he did very well to send in some threatening crosses as well as win his side several corners. He was however, culpable for Germany's winning goal as he failed the track the run of Bender and allowed the German midfielder to steal in to score.
Daniel Agger - 7.5
The Liverpool centre-back was a rock at the back for Denmark, cutting out numerous dangerous looking German attacks and doing very well to nullify the threat of Gomez. He made more than a few crucial interceptions for his side and hardly put a foot wrong in the game.
Simon Kjaer - 7
The 23-year-old put in an accomplished performance for the Danes. Kjaer was brave and strong in the tackle, often heroically putting his body on the line to prevent the Germans from getting a clear shot on goal. He also successfully stuck to his task of marking Mario Gomez and minimised the amount of chances which fell the German forward's way.
Lars Jacobsen - 7
Jacobsen played a crucial part in setting up the goal for his side, taking the corner which eventually led to Krohn-Dehli scoring. He was a constant menace for the Danes on the right hand side, often finding time and space to deliver the ball into the box for his teammates who were unfortunately unable to capitalise on his crosses.
Niki Zimling (78' Off) - 6
Zimling's influence on the game was minimal and he did nothing much of note throughout. He did test Neuer with a dipping long range shot which had the Bayern Munich keeper worried but was anonymous otherwise.
William Kvist - 6.5
Kvist, playing in the anchor man role for Denmark, was tasked with breaking up the German attack in the midfield. Despite a tireless and hardworking display, the crisp one-touch passing of the Germans often meant that Kvist was left chasing shadows.
Michael Krohn-Dehli - 7
He was the hero for the Danish in their first game against the Dutch and he was so very nearly the hero here once again, scoring the equalizer for Denmark. From a corner, Bendtner nodded the ball back into the box for Krohn-Dehli, who did very well to use his head and guide the ball into the net.
Christian Eriksen - 5.5
The highly rated playmaker had a subdued game for his side. The most disappointing aspect of Erkisen's game was the lack of chances he created for his side. He also lost possession far too easily and did not seem to have the necessary hunger to win the game.
Jakob Poulsen (82' Off) - 7
Poulsen proved to be one of the more threatening players for the Danish side, combining well with Bendtner upfront. Despite not seeing much of the ball due to the dominance of the German midfield, he used possession wisely and came very close to putting his side in the lead with an instinctive effort from just outside the box which hit the post and went wide.
Nicklas Bendtner - 7.5
The Arsenal striker, who is actively looking for a new club, should find himself fielding a few calls from interested clubs after an impressive display upfront for the Danes. He was very strong in the air, winning the aerial duels with relative ease and displayed great awareness to set up several decent chances for his teammates with his lay-offs. He played a huge part in Denmark's goal as well, rising well to meet the ball from a corner and playing it back into the penalty box for Krohn-Dehli to score.
Christian Poulsen (78' On) - (N/A)
Tobias Mikkelsen (82' On) - (N/A)
Manuel Neuer - 6
Neuer may not be as eccentric as his predecessors, but his positioning in the game would have come into question if his team mates lost the ball in midfield as he was miles off his line for large periods of the match.
Holger Badstuber - 7
If he can keep his feet on the ground, Badstuber would be one for the future. His positioning on the pitch is impressive considering he is only 23 years of age and if he can work on his aerial challenges, the likes of Per Mertesacker can remain on the bench for the rest of his German career.
Mats Hummels - 7
Hummels did not have any formidable foes in this Euros as of yet, but watching Hummels shine at the back for German is probably a sneek peak of more to come from him. His presence at the back scared Bendtner off, and Denmark were reduced to playing short passes.
Philipp Lahm - 6.5
Lahm covered plenty of ground down the left for the Germans as Eriksen and Jacobsen didn't cause him any problems whatsoever. He does have a bad habit of running to the centre instead of bringing the ball wide to stretch the Danish defenders though.
Lars Bender - 8
Bender took over from the suspended Jerome Boateng, but questions will be asked of the German's defensive organisation for assigning the shortest man marking Bendtner in the box, which led to the Arsenal man nodding it for Krohn-Dehli to score. Bender later got his first international goal after a very solid display playing in an unfamiliar position, and you could have heard that resounding sigh of relief in the stadium.
Bastian Schweinsteiger - 6.5
His passing ability was wasted as he was playing in a very deep role in this game, freeing Khedira up to roam further up on the pitch. Despite his technical abilites, Schweinsteiger always opted for a short pass instead of trying his luck from distance even when no Danish player was closing him down.
Sami Khedira - 7
The Real Madrid man looked unstoppable everytime he made ran forward, always getting into the right areas of the field but just lacking the finish. Khedira ran his heart out, pressing the Danish high up the pitch and almost got a goal for himself.
Mesut Ozil - 6.5
His set piece deliveries were disappointing but he still has the ability to split open defences with his passes nonetheless. With Schweinsteiger playing in a deeper position, all eyes were on him to pull the strings and be the bright spark upfront but he never managed to really accomplish his mission.
Lukas Podolski - 7
Podolski became the youngest player in Europe to hit 100 caps at the age of 27 and celebrated it with a goal, being at the right place at the right time to hammer the ball into the back of the net. Arsene Wenger must have been happy to get his signature before the Euros kicked off.
Thomas Muller (84' off) - 6.5
Muller used to score goals with ease but seemed to leave his scoring boots behind in this tournament and once again could not convert his chances. He was a menace down the right for the Germans and toiled tirelessly upfront, trying to feed his club mate but a red shirt would always get in the way. Will the real Thomas Muller please stand up?
Mario Gomez (74' off) - 6
The German frontman was starved of the ball by Agger all game and he would be ashamed of himself for allowing Krohn-Dehli to outjump him and score a goal from a header. Gomez cut a frustrated figure upfront and was visibly exasperated with a lack of quality crosses into the box, which left him to resorting to shooting from distance.
Andre Schurrle (64' on) - 6.5
The young Leverkusen man was the first German to force Anderson into action in the second half and showed glimpses of what he is capable of in the final third.
Miroslav Klose (74' on) - 6
Klose looks like he will not be able to get his five goals to match Gerd Muller's record for Germany if he gets so little playing time. He came on and did his customary runs around to keep possession without really threatening the Danish defence.
Toni Kroos (84' on) - (N/A)