[BRAZIL 2014]Group A ended with the Netherlands on top, sweeping its group for the second straight World Cup.
Late goals by subs Leroy Ferand Memphis Depay gave the Netherlands a 2-0 victory over Chile on Monday that clinched first place in Group B with three wins in three games.
Both teams will move into the round of 16, where they will face the top two teams from Group A.
Fer was on the field for only one minute when he scored on a header off a corner kick. In stoppage time, Arjen Robben fed Depay for his second goal in two games.
The Dutch, who would have won the group with a draw, will face the Group A runner-up Sunday in Fortaleza. Chile will have to face the Group A winner, which is likely to be Brazil.
David Villa, who will play for MLS's New York City FC in 2015, scored his record 59th goal in his 97th and final appearance for Spain as the defending champion beat Australia, 3-0.
Fernando Torresand Juan Mata added added goals in the second half for Spain, which exited after the group stage for the first time since 1998. Its record of one win and two losses matches its worst record set in 1962 and 1966.
Spain coach Vicente del Bosque said no one should write off players from his current team.
''There are still players who can help the team a lot," he said, "and while we have to be aware of the younger players coming through, we shouldn't write off anybody.''
Group B Standings:
PTS TEAM W-T-L GF/GA
9 Netherlands 3-0-0 10/3
6 Chile 2-0-1 5/3
3 Spain 1-0-2 4/7
0 Australia 0-0-3 3/9
Netherlands and Chile advance.
Mexico plays Croatia Monday with a berth in the second round on the line for a winner. In case of a tie, El Tri will go through. It hasn't given up a goal in its first two games, but Croatia coach Niko Kovac doesn't believe that will last long, saying ''if anyone's knees should be trembling,'' it should be those of the El Tri.
Responded Mexico coach Miguel Herrera, ''Mexico has played a World Cup in which we've proven we have an attitude of determination. It is a robust team. It is a team that has not conceded goals. It is a team that is doing things right.''
Guillermo Ochoa, who stopped Brazil with several world-class saves in their 0-0 tie, will lead an unchanged squad.
Croatia lost to Brazil, 3-1, but recovered to blast Cameroon, 4-0.
Cameroon midfielder Alex Song was banned for three games for elbowing Croatian striker Mario Mandzukic in the back during the Indomitable Lions' 4-0 loss on Wednesday.
Song, the first player at this World Cup to have extra games added to his suspension, will be banned from Cameroon's next two official matches after serving the first game of his suspension on Monday.
June 23 in Brasilia
Group A:Cameroon vs. Brazil
ESPN2, UniMas/Galavision 4 p.m. ET
June 23 in Recife
Group A:Croatia vs. Mexico
ESPN, Univision/UDN 4 p.m. ET