Canada beat Spain 88-85 in the second round of the FIBA World Cup, eliminating the defending World Cup champions.

Canada also qualified for next summer's Olympics with the win.

Canada entered the fourth quarter of the game down 73-61. Shai Gilgeous-Alexander scored or assisted on Canada's last 14 points of the game.

Canada are set to play Slovenia in the quarterfinals.