Match ends, Mexico 0, Sweden 3.
Sweden propelled themselves into the World Cup knockout stage with a handsome victory over Mexico that qualified them as Group F winners and condemned Germany to early elimination.
Mexico, undone on the counter attack and from the penalty spot before conceding an own goal, joined Sweden in reaching the next round as runners-up despite the defeat as a result of the defending champions also losing.
Germany, the four-time World Cup winners, were beaten 2-0 by South Korea and failed to reach the knockout stage for the first time in 16 consecutive appearances since 1954.
Sweden also had a first-half penalty claim for a handball by Javier Hernandez denied despite going to a VAR review, but in the end it mattered little after their three second-half goals.
Ludwig Augustinsson fired Sweden ahead five minutes after the break when a Viktor Claesson mis-hit inadvertently found him free at the far post, before Andreas Granqvist smashed home a penalty 12 minutes later following Hector Moreno's trip on Marcus Berg.
Mexico - who went close through a curling Carlos Vela effort in the first half - pressed hard for a reply but were punished again when Edson Alvarez clumsily turned an attempted clearance past his own keeper.
Juan Carlos Osorio's side, so brilliant in their previous two wins over Germany and South Korea, should have had a goal to show from their underwhelming performance but Vela's late header was dismal.
The teams will find out who they play in the next round later this evening, after the final round of matches in Group E.
As it stands Sweden would face Switzerland, while Mexico, who have been knocked out in the last 16 of every World Cup since 1994, will most likely play Brazil.
Mexico's late worries
With the game fading into injury time and Sweden certain of victory, Mexican fans began to think what was before the game unthinkable - possible elimination.
At that stage, Germany were still drawing 0-0 with South Korea, and a late goal for Joachim Low's side would have moved them into second place on goal difference.
So the two late goals for South Korea - the second came after the final whistle had been blown in Ekaterinburg - were greeted with celebration and relief at the end of a Mexico performance that had little to cheer about.
This was the first time in Colombian Osario's 51 matches in charge of the team that he made no changes from their previous match.
But his team were completely unrecognisable from the 2-1 victory over South Korea that followed that impressive opening 1-0 win against Germany.
They found it far more difficult against Sweden, who were well organised and aggressive all over the pitch.
It now seems that Osario - criticised in the past for too much tinkering - will face questions of a different sort, just when he thought he had found his best XI.
Sweden turn things around
Sweden's cruel last-minute defeat by Germany in the second round of matches looked to have severely diminished their chances of reaching the knockout stage.
But they emphatically put that result behind them.
Before Toni Kroos' 95th-minute goal for Germany, they had performed much in the same way as they did here; difficult to break down, dangerous on the counter and combative at every opportunity.
The only difference was that they were far more clinical against Mexico when chances presented themselves and their three second-half goals left their opponents reeling.
Competing at the tournament for the first time since 2006, it will be intriguing to see how far they can go.
Analysis - The best World Cup in recent memory
Former England and Arsenal defender Matt Upson: It was a very difficult match-up for Mexico in terms of style. From the first minute, Sweden's intent was so clear, the set-pieces, how physical and organised they were. They thoroughly deserved to win the game 3-0.
Former Everton midfielder Leon Osman: I don't think anyone saw Sweden winning by three goals. I can't tell you how much I am enjoying this World Cup, the drama of it, the unpredictability. The change in momentum and scorelines is fantastic. It's probably the best World Cup I can remember.
Man of the match - Andreas Granqvist
The fastest World Cup booking - the key stats
- Sweden have now reached the last 16 of the World Cup on each of the last four occasions in which they have qualified for the tournament.
- This was Sweden's biggest win in a World Cup match since they defeated Bulgaria 4-0 in 1994 in the third-place play-off match.
- Mexico have reached the last 16 in each of the last eight World Cup tournaments they have taken part in.
- Andreas Granqvist is the first Swede to score two or more goals in a single World Cup tournament since Henrik Larsson in 2002 (three goals).
- This was Mexico's worst defeat at the World Cup since they were beaten 6-0 by Germany in 1978.
- Ludwig Augustinsson's opener was the first goal he has scored for Sweden's senior team... with what was his first shot at this tournament.
- Mexico's Jesus Gallardo was shown a yellow card after just 15 seconds in this game - the quickest anyone has ever been booked in the World Cup.
- 15MorenoBooked at 61mins
- 23GallardoBooked at 1minsSubstituted forFabiánat 65'minutes
- 18GuardadoSubstituted forJM Coronaat 75'minutes
- 7LayúnBooked at 85minsSubstituted forPeraltaat 89'minutes
- 1J Corona
- 6J dos Santos
- 10G dos Santos
- 17JM Corona
- 2LustigBooked at 88mins
- 7LarssonBooked at 26minsSubstituted forSvenssonat 57'minutes
- 8EkdalSubstituted forHiljemarkat 80'minutes
- 9BergSubstituted forThelinat 68'minutes
- Néstor Pitana
- Shots on Target
Second Half ends, Mexico 0, Sweden 3.
Attempt saved. Hirving Lozano (Mexico) right footed shot from outside the box is saved in the centre of the goal. Assisted by Héctor Moreno.
Edson Álvarez (Mexico) wins a free kick in the defensive half.
Foul by Isaac Thelin (Sweden).
Attempt saved. Héctor Herrera (Mexico) left footed shot from outside the box is saved in the top left corner. Assisted by Jesús Manuel Corona.
Foul by Marco Fabián (Mexico).
Ola Toivonen (Sweden) wins a free kick in the defensive half.
Corner, Mexico. Conceded by Viktor Claesson.
Attempt missed. Hirving Lozano (Mexico) right footed shot from outside the box is high and wide to the left. Assisted by Héctor Herrera following a corner.
Corner, Mexico. Conceded by Ola Toivonen.
Substitution, Mexico. Oribe Peralta replaces Miguel Layún.
Mikael Lustig (Sweden) is shown the yellow card for a bad foul.
Hirving Lozano (Mexico) wins a free kick on the left wing.
Foul by Mikael Lustig (Sweden).
Héctor Herrera (Mexico) wins a free kick in the defensive half.
Foul by Viktor Claesson (Sweden).
Miguel Layún (Mexico) is shown the yellow card for a bad foul.
Foul by Miguel Layún (Mexico).
Ola Toivonen (Sweden) wins a free kick on the right wing.