Both teams advance after Germany's shock defeat.
Sweden ploughed through Mexico to a 3-0 victory, but both teams will advance after Germany's shock defeat against South Korea.
The final results from Group F see Sweden top the table, with Mexico second.
The Swedes started the day in third place of Group F and knew that to qualify they had to better Germany's result. The first half lacked clear chances but Sweden probably shaded it, as Berg forced an excellent save from Ochoa to keep things level.
In the second half the chances came and goals came with them. Augustinsson opened the scoring with a volley at the back post after Forsberg's sliced shot fell to him. Granqvist then scored from the penalty spot before Hernandez scored a disastrous own goal to round off the scoring.
During the last few minutes of the game attention turned entirely to the match between South Korea and Germany to see if the result there would see Mexico through to the next round. Germany lost 0-2, both goals in stoppage time, concessions which booted them out of the tournament.
Five takeaways from the game
Sweden are through to the next round and they did it in style, thrashing Mexico 3-0. There will be few who can say that the Swedes did not deserve the win and the scoreline did not flatter them. Sweden played brilliantly, they nullified Mexico including their significant counter-attacking threat and looked very dangerous going forward. The lack of space Mexico were given in the Swedish half was noticeable and the Mexicans really struggled to get much going. Sweden will be a team to avoid going forward, as they have shown that they are more than capable of going toe-to-toe with the best when they lost to Germany through Toni Kroos last-gasp goal. All the teams left in the knockout stages will now know that Sweden are no walkover.
Mexico are also through after Germany were defeated by South Korea, but their performance today left plenty to be desired. They struggled to create much going forward and they were overun at times by Sweden. Mexico looked flat for long periods of the game and you wonder whether their high-intensity style of play is beginning to catch up with them, as they looked tired especially in the second half. Moving forward, Mexico will need a drastic improvement and performances like the one we saw against Germany.
When Sweden were awarded a penalty and the chance to go 2-0 up, many wondered whether Andreas Granqvist would step up to take it again as he did against South Korea in the opening game. The Swedish captain did take the penalty and he fired it into the top corner with no hesitation. The penalty added heaps of pressure on Sweden, as it knew the goal difference could be important in the final group standings, but Granqvist was not fazed. This penalty will be remembered for a long time as the moment the big central defender's ice-cool nature took over.
Once Sweden extended their 3-0 lead, the game became far less important to the Mexican fans, who began to focus much more on the other simultaneous group game. With Mexico very likely to lose, they were reliant on South Korea earning a win or a point over defending champions Germany to stand any chance of progressing. So began the furious checking of mobile phones, as fans tried to ascertain the score of the other game. Fans quite literally stopped watching the match they were present at and focused entirely on another match. The scenes of celebration were something to behold when South Korea took the lead, it was almost as if Mexico themselves had scored the goal.
The unbearable tension
Once Sweden were 3-0 up and Mexico were entirely reliant on Germany losing, the tension in the stadium was unbearable and viewers at home could feel it too. The celebrations once South Korea scored showed the relief of the Mexican supporters and showed just how much the beautiful games means its fans.