Match ends, Sweden 1, Switzerland 0.
Sweden will play England in the quarter-finals of the World Cup after defeating Switzerland in a strangely compelling but untidy tie in St Petersburg.
Emil Forsberg struck the decisive blow midway through the second half with a shot that deflected off the luckless Manuel Akanji and left Yann Sommer stranded in the Swiss goal.
Sommer had brilliantly clawed away a shot on the turn from Marcus Berg in the first half and denied Haris Seferovic late on but it was undoubtedly a game that was more about missed opportunities than good saves.
Both sides were guilty of squandering good openings - and Switzerland ended it with 10 men after Michael Lang was dismissed in injury time for a push on Martin Olsson, who was clean through on goal.
The referee initially gave a penalty but changed his decision to a free-kick after a review.
That will not bother the Swedes, who have reached the last eight of this competition for the first time since 1994.
Miss after miss after miss after miss
The bottom half of the draw at the World Cup offers a superb opportunity for a relatively unfancied team to reach the final.
Going into Tuesday's two remaining last-16 ties, one of Switzerland, Sweden, England, Colombia, Croatia and Russia was certain of reaching the final. Of these, only the Swiss are in the top 10 of Fifa's rankings.
And while the match in St Petersburg could not be said to lack passion or goalmouth incidents, the quality of finishing gave the impression that neither side was capable of taking the glorious opportunity in front of them.
The worst miss was by Sweden's Albin Ekdal, who was superbly picked out by Mikael Lustig's beautifully weighted cross but horribly ballooned his strike well wide. A header would have been a much better option.
Striker Marcus Berg snatched a shot off target too after Ola Toivonen's deft flick created the opening and had another effort blocked.
But it was not just the Swedes who were guilty of profligacy in front of goal.
Steven Zuber was off target with a near-post header and later exchanged a series of passes with Blerim Dzemaili, who had a great opening from 16 yards but again showed a lack of composure that let the game down at key moments.
Obdurate Swedes triumph once more
Sweden finished ahead of the Netherlands in their qualifying group and then defeated Italy in a play-off tie to reach the World Cup. Once here they finished top of a group that included champions Germany.
Underestimate them at your peril.
They averaged 38% possession in the group stage and just 33% against the Swiss, but they probably created more good scoring chances than their opponents.
They were organised and obdurate, playing with a discipline that allowed them to frustrate the Swiss and try to strike on the counter.
They have a team that lacks star quality in the post-Zlatan Ibrahimovic era but they know what they are good at - and how to win football matches.
And when at the end the Swiss pressed for an equaliser, Forsberg cleared from close to his goal and several team-mates put in desperate blocks as they showed that they will provide a difficult test for anyone who wants to stop them reaching the final.
It was an afternoon laced with regret for a Switzerland side that struggled to wear down their disciplined opponents.
Vladimir Petkovic's team had lost just one of their last 25 games and come through a group stage in Russia that included Brazil and Serbia.
And having not reached the last eight at the World Cup for 64 years, Switzerland were favourites to win a tie against supposedly limited opponents.
But their timing was off when it mattered most - perhaps epitomised most by one completely miscued strike from Granit Xhaka after Xherdan Shaqiri had played the ball invitingly into his path on the hour mark.
And even when substitute Haris Seferovic did guide a header towards goal he was denied by a good save from Robin Olsen.
Man of the match - Andreas Granqvist (Sweden)
Leaving it late - the best of the stats
- Sweden have qualified for their first World Cup quarter-final since 1994.
- Switzerland have never won a World Cup knockout match - suffering elimination in all seven matches, including their last four last-16 games (in 1994, 2006, 2014 and 2018).
- Sweden have won back-to-back World Cup matches for the first time since 1958, when they won the quarter-final and semi-final on their way to the final as host nation that year.
- This was only Switzerland's fourth defeat in their last 15 matches at the last four World Cup tournaments, with three of those defeats coming by a 1-0 scoreline.
- This defeat was Switzerland's first since October 2017 when they lost 2-0 to Portugal in a World Cup qualifier, ending a run of nine unbeaten matches.
- Sweden kept their third clean sheet in four games at the 2018 World Cup - as many shutouts as they'd recorded in their previous 24 matches combined at the World Cup finals.
- Forsberg scored his first World Cup goal for Sweden with his 14th shot of the tournament.
- Eight of Sweden's last nine World Cup goals have been scored in the second half of matches.
- Sweden goalkeeper Robin Olsen has kept three clean sheets at the 2018 World Cup, a joint-record for a Swedish goalkeeper in World Cup finals history (also three clean sheets for Ronnie Hellstrom in 1974 and Karl Svensson in 1958).
- Berg attempted three shots in this match and has now had 13 shots without scoring at the 2018 World Cup, more than any other player.
'We're not satisfied' - how the managers reacted
Switzerland coach Vladimir Petkovic: "We're sorely disappointed, the whole team is. We clearly wanted to do more. We should have done better but were simply below par and not good enough to win the game.
"There was something missing in that match from us but in all the games Sweden have been involved in, their opponents have had a difficult time developing the emotions and momentum you need. In the last 10 or 15 minutes, we tried to play with more emotion and it went better, I think. But in the end it wasn't enough."
Sweden coach Janne Andersson: "It was a surreal feeling to stand at the side of the pitch hearing the fans calling out my name, but football is a team sport and this team, for me, personifies that. We all work so hard for each other on and off the pitch. We know that we are a good team and that we have earned our successes.
"We're all very happy about the successes we have seen so far. But we need to digest this quickly as we have another game coming up soon, on Saturday. It's all about the process right now and it's full steam ahead for us. We're not satisfied with what we've done - we want to win the next match too."
- 2LustigBooked at 31minsSubstituted forKrafthat 82'minutes
- 10ForsbergSubstituted forOlssonat 82'minutes
- 9BergSubstituted forKiese Thelinat 90+1'minutes
- 22Kiese Thelin
- 6LangBooked at 90mins
- 11BehramiBooked at 61mins
- 10XhakaBooked at 68mins
- 15DzemailiSubstituted forSeferovicat 73'minutes
- 14ZuberSubstituted forEmboloat 73'minutes
- Damir Skomina
- Shots on Target
Second Half ends, Sweden 1, Switzerland 0.
Attempt saved. Ola Toivonen (Sweden) right footed shot from outside the box is saved in the bottom right corner.
Delay over. They are ready to continue.
Video Review: Penalty Kick. Referee decision on field cancelled.
Delay in match (Switzerland). Video Review.
Michael Lang (Switzerland) is shown the red card.
Foul by Michael Lang (Switzerland).
Martin Olsson (Sweden) wins a free kick in the attacking half.
Attempt saved. Haris Seferovic (Switzerland) header from the centre of the box is saved in the centre of the goal. Assisted by Ricardo Rodríguez with a cross.
Substitution, Sweden. Isaac Thelin replaces Marcus Berg.
Corner, Sweden. Conceded by Valon Behrami.
Johan Djourou (Switzerland) wins a free kick in the defensive half.
Foul by Marcus Berg (Sweden).
Attempt blocked. Josip Drmic (Switzerland) left footed shot from outside the box is blocked. Assisted by Ricardo Rodríguez with a cross.
Attempt blocked. Ricardo Rodríguez (Switzerland) right footed shot from outside the box is blocked.
Corner, Switzerland. Conceded by Ludwig Augustinsson.
Foul by Breel Embolo (Switzerland).
Andreas Granqvist (Sweden) wins a free kick in the defensive half.
Substitution, Sweden. Emil Krafth replaces Mikael Lustig.