A brace by substitute Deniz Undav fired Germany to a last-gasp 2-1 win over Ivory Coast to secure their place in the last 32 of the World Cup.
Julian Nagelsmann’s team had inflicted a seven-goal thrashing on Curacao in their opening game of the tournament, but faced defeat at Toronto Stadium after Franck Kessie scored in the 30th minute.