Germany sensationally crashed out of the World Cup despite beating Costa Rica at Al Bayt Stadium, with Japan stunning Spain to send Der Team home at the group stage - just like in 2018.
Hansi Flick's team knew nothing less than a victory could send them into the last 16, but Japan's win in the other game meant they faced the improbable task of making up seven goals on Spain. Serge Gnabry put them ahead at the break, but goals from Yeltsin Tejeda and Juan Pablo Vargas briefly put Costa Rica into the qualification spots.
Luis Fernando Suarez's team couldn't hold on, though, and a Germany side who hit the post several times eventually completed their turnaround. A Kai Havertz double put Flick's men back in charge, before Niclas Fullkrug scored his second goal in as many games to make it 4-2, but it was too little, too late.