Substitute Niclas Fullkrug scored a late equaliser for Germany as they rescued a draw with Switzerland to top Group A.
The Swiss thought they were going through to the last 16 as group winners after an early goal from Dan Ndoye until Fullkrug headed in the equaliser.
There was an outburst of celebration from home supporters behind the goal as Germany maintained their unbeaten start to Euro 2024.
It was a blow to Switzerland, who had defended resolutely for more than 90 minutes but they still progress to the knockout stages.
Murat Yakin's side knew victory would see them leapfrog Germany and they almost delivered in Frankfurt until pressure took its toll in stoppage time.
Germany, who had largely frustrated the home fans in the stands, created a flurry of chances late on and eventually did enough.
Earlier, Swiss fans were bouncing and singing in the stands after Ndoye had placed a first-time shot into the roof of the net from Remo Freuler's dangerous cross.
Ndoye also had a goal ruled out for offside in the second half that would have made it 2-0 - the second to be crossed off after the video assistant referee (VAR) intervened for Germany's Robert Andrich.
Andrich curled a shot from the edge of the box under the arms of goalkeeper Yann Sommer, whose blushes were saved when referee Daniele Orsato overturned his decision after going to the pitchside monitor to see a foul from Jamal Musiala in the build-up.
Germany had lacked the ruthlessness they had shown in their opening two victories of the tournament but high hopes remain that they can go all the way in the competition.
By winning Group A, Germany face the team that finishes second in England's group next Saturday.
Latest Stories
-
I want to focus more on my education – Chidimma Adetshina quits pageantry
1 hour -
Priest replaced after Sabrina Carpenter shoots music video in his church
2 hours -
Duct-taped banana artwork sells for $6.2m in NYC
2 hours -
Arrest warrants issued for Netanyahu, Gallant and Hamas commander over alleged war crimes
2 hours -
Actors Jonathan Majors and Meagan Good are engaged
2 hours -
Expired rice saga: A ‘best before date’ can be extended – Food and Agriculture Engineer
2 hours -
Why I rejected Range Rover gift from a man – Tiwa Savage
2 hours -
KNUST Engineering College honours Telecel Ghana CEO at Alumni Excellence Awards
3 hours -
Postecoglou backs Bentancur appeal after ‘mistake’
3 hours -
#Manifesto debate: NDC to enact and pass National Climate Law – Prof Klutse
3 hours -
‘Everything a manager could wish for’ – Guardiola signs new deal
3 hours -
TEWU suspends strike after NLC directive, urges swift resolution of grievances
3 hours -
Netflix debuts Grain Media’s explosive film
4 hours -
‘Expired’ rice scandal: FDA is complicit; top officials must be fired – Ablakwa
4 hours -
#TheManifestoDebate: We’ll provide potable water, expand water distribution network – NDC
4 hours