The Netherlands beat Tunisia 3-1 to top Group F at the World Cup, avoiding a difficult last-32 encounter with Brazil.
Ronald Koeman's side went two goals ahead in Kansas City in wet conditions, capitalising on poor defending by their opponents, who left the tournament without a point.
First, Ellyes Skhiri turned a Denzel Dumfries cross into his own net. Minutes later, Sunderland striker Brian Brobbey fired home from close range.
The match appeared settled early, with orange-clad fans entertaining themselves with Mexican waves in the first half at Arrowhead Stadium.
Tunisia pulled one back in the second half, but the Netherlands restored their two-goal cushion with a header from Jan Paul van Hecke shortly after the break.
The Netherlands finished the group stage with seven points, ahead of Japan on goal difference, and will face Morocco in the second round in Monterrey on Monday.
Japan drew 1-1 with Sweden in Arlington, Texas, to claim second place, while the Scandinavian side also advanced as one of the eight best third-placed teams.
Thursday's match kicked off on time despite a thunderstorm that had threatened major disruption across the US Midwest earlier.
Tunisia almost took the lead in the early minutes when Ismael Gharbi shot high from close range, but that proved a false sign of what was to come.
Instead, Skhiri put the ball into his own net in the third minute, putting the three-time finalists ahead.
Just four minutes later, Brobbey scored his third World Cup goal after Virgil van Dijk headed on a free kick from Tijjani Reijnders.
Tunisia nearly fell further behind but kept the scoreline intact until half-time.
The North African side pulled one back in the 54th minute when Hazem Mastouri headed in a corner from Hannibal Mejbri.
But any anxiety soon faded minutes later as Van Hecke's header from a Reijnders corner found the net after a deflection.
Tunisia left the tournament with a disappointing record of 12 goals conceded in three matches.
Veteran French coach Herve Renard was appointed last week after Sabri Lamouchi was sacked following a 5-1 loss to Sweden in their opening match in Mexico.
But he could not halt the slide, as Tunisia — who had qualified without conceding a goal — lost 4-0 to Japan before their defeat to the Netherlands.