Germany booked a place in the round of 16 after surviving a 2-2 draw against Hungary on Wednesday night thanks to a late Leon Goretzka goal.
Hungary looked like they would shock their hosts and send them out of the tournament after Adam Szalai‘s diving header in the 11th minute to open the scoring.
Kai Havertz eventually drew Germany level in the 66th minute, only for Hungary to retake the lead seconds after the re-start as Andras Schaefer ran onto a pass and headed in.
Goretzka bagged the crucial equaliser in the 84th minute to send Germany through in second place behind France in Group F on four points.
The Germans had close to 70% possession in the first half and Mats Hummels hit the crossbar with a powerful header, but other than that they showed little of the attacking spark they demonstrated in their 4-2 win over Portugal.
This win means Germany finish second in Group F and will now meet Gareth Southgate’s England at Wembley in a hugely anticipated last-16 match next Tuesday, June 28th.