Japan pulled off a stunning second-half comeback to beat Spain 2-1 on Thursday and secure their place in the World Cup knockout stages as group winners.
Despite defeat, Spain join Japan in the round of 16 but only on goal difference, after Germany's win over Costa Rica in Group E's other final game.
- Stream on ESPN+: LaLiga, Bundesliga, more (U.S.)
Spain looked in complete control after Alvaro Morata headed the 2010 champions in front after just 11 minutes and they finished the first half with almost 80% possession.