Spain secured first place in Group Eight of the Under-17 World Cup after beating Morocco 2-0 in the final round of group matches in Qatar on Thursday.
The result gave Spain a perfect record of three wins and nine points, while Morocco finished second with four points.
Spain took control in the 17th minute when Ebrima Tunkara opened the scoring. Guillermo Trujillano then doubled their advantage in the 61st minute to complete the victory.
The Spanish side had begun their campaign with a 5-0 win over China before producing an emphatic 15-0 victory against Fiji. Those results confirmed their dominance in the group and secured their place in the next round before the concluding fixtures.
Morocco also made a strong start to the tournament, beating Fiji 6-0 in their opening match. They then drew 2-2 with China before suffering defeat by Spain in their final group game.
In the other match in Group Eight, China recorded an 8-0 victory over Fiji. That win lifted China into third place on four points, level with Morocco but behind them on goal difference.
Fiji finished bottom of the group without a point.