Spain, the reigning world champion, was eliminated in the second round of the World Basketball after their defeat on Sunday in Jakarta against Canada (88-85), qualified after this suspenseful match.

The Spaniards finish third in Group L behind the Canadians and Latvia, who had already beaten them on Friday (74-69). Canada, who came from a seven-point deficit in the final four minutes, will face Doncic’s Slovenia on Wednesday in Manila in the quarter-finals.