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.
Line-ups
Mexico
Formation 4-2-3-1
- 13Ochoa
- 21Álvarez
- 3Salcedo
- 15MorenoBooked at 61mins
- 23GallardoBooked at 1minsSubstituted forFabiánat 65'minutes
- 16Herrera
- 18GuardadoSubstituted forJM Coronaat 75'minutes
- 7LayúnBooked at 85minsSubstituted forPeraltaat 89'minutes
- 11Vela
- 22Lozano
- 14Hernández
Substitutes
- 1J Corona
- 2Ayala
- 4Márquez
- 5Gutiérrez
- 6J dos Santos
- 8Fabián
- 9Jiménez
- 10G dos Santos
- 12Talavera
- 17JM Corona
- 19Peralta
- 20Aquino
Sweden
Formation 4-4-2
- 1Olsen
- 2LustigBooked at 88mins
- 3Lindelöf
- 4Granqvist
- 6Augustinsson
- 17Claesson
- 7LarssonBooked at 26minsSubstituted forSvenssonat 57'minutes
- 8EkdalSubstituted forHiljemarkat 80'minutes
- 10Forsberg
- 9BergSubstituted forThelinat 68'minutes
- 20Toivonen
Substitutes
- 5Olsson
- 11Guidetti
- 12Johnsson
- 13Svensson
- 14Helander
- 15Hiljemark
- 16Krafth
- 18Jansson
- 19Rohdén
- 21Durmaz
- 22Thelin
- 23Nordfeldt
- Referee:
- Néstor Pitana
- Attendance:
- 33,061
Match Stats
- Possession
- Home67%
- Away33%
- Shots
- Home20
- Away15
- Shots on Target
- Home3
- Away5
- Corners
- Home7
- Away3
- Fouls
- Home14
- Away11
Live Text
Post update
Full Time
Second Half ends, Mexico 0, Sweden 3.
Post update
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.
Post update
Edson Álvarez (Mexico) wins a free kick in the defensive half.
Post update
Foul by Isaac Thelin (Sweden).
Post update
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.
Post update
Foul by Marco Fabián (Mexico).
Post update
Ola Toivonen (Sweden) wins a free kick in the defensive half.
Post update
Corner, Mexico. Conceded by Viktor Claesson.
Post update
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.
Post update
Corner, Mexico. Conceded by Ola Toivonen.
Substitution
Substitution, Mexico. Oribe Peralta replaces Miguel Layún.
Booking
Mikael Lustig (Sweden) is shown the yellow card for a bad foul.
Post update
Hirving Lozano (Mexico) wins a free kick on the left wing.
Post update
Foul by Mikael Lustig (Sweden).
Post update
Héctor Herrera (Mexico) wins a free kick in the defensive half.
Post update
Foul by Viktor Claesson (Sweden).
Booking
Miguel Layún (Mexico) is shown the yellow card for a bad foul.
Post update
Foul by Miguel Layún (Mexico).
Post update
Ola Toivonen (Sweden) wins a free kick on the right wing.
Comments
Join the conversation
I don't think I've experienced anything in a World Cup for years as nerve-jangling as that final few minutes, including England games
Probably not since 98. Or perhaps 2004
Really pleased, but a big reality check for Mexico fans
Who saw this coming?
On paper, every single one of the pundits had Mexico top on 9, Germany 2nd on 6, Sweden 3rd on 3, & South Korea bottom with 0
Sweden are top, Mexico 2nd & it's Germany last!
Well played Sweden (Italy must be gutted!)
All together now
"They're going home, they're going home, Germany's going home"
(Repeat until voice gives out!)
But, truth be told, both these teams have been far more impressive than Germany and, as an England fan, I would far rather have played Germany than either Mexico or Sweden in the later stages of the competition.
And, as a footnote, the lack of class shown by those two German officials has been amply rewarded.
Speak for yourself. South Korea are the dirtiest team in the competition. Amazed no Mexican, Swedish or German players ended up in hospital after playing them. And Son, the darling of the BBC (probably because of the club he plays for) dives more than Neymar. If they'd gone through it would have been a travesty.