Sweden's Andreas Granqvist, left, celebrates with teammates after scoring his side's second goal during the group F match between Mexico and Sweden, at the 2018 soccer World Cup in the Yekaterinburg Arena in Yekaterinburg , Russia, Wednesday, June 27, 2018. (AP Photo/Martin Meissner)
Sweden's Andreas Granqvist, left, celebrates with teammates after scoring his side's second goal during the group F match between Mexico and Sweden, at the 2018 soccer World Cup in the Yekaterinburg Arena in Yekaterinburg , Russia, Wednesday, June 27, 2018. (AP Photo/Martin Meissner) Credit: Martin Meissner

Yekaterinburg, Russia — Sweden dominated Mexico, 3-0, to move on to the World Cup knockout round, and thanks to South Korea, Mexico also advanced.

Ludwig Augustinsson volleyed a left-footed shot past goalkeeper Guillermo Ochoa from close range five minutes into the second half, and captain Andreas Granqvist converted a penalty kick to help Sweden take control on Wednesday and win Group F.

Despite the loss, Mexico also advances as runner-up in the group thanks to South Korea’s surprising 2-0 over defending champion Germany. Mexico has been to the round of 16 for seven straight World Cups. Sweden had not been to the knockout stage since 2006.

Brazil 2, Serbia 0

Moscow — Paulinho and Thiago Silva scored a goal each to give five-time champion Brazil a victory over Serbia and first place in their group.

Brazil struggled in its opening two matches, first held to a 1-1 draw and then needing late goals to win the other. But they controlled this one.

Switzerland 2, Costa Rica 2

Nizhny Novgorod, Russia — Switzerland qualified for the round of 16 despite twice losing the lead in a draw with Costa Rica, which had already been eliminated.

Costa Rica scored from Bryan Ruiz penalty kick in stoppage time to tie, but it didn’t affect Switzerland’s progression as the second-place team in Group E.