Audio By Carbonatix
Alvaro Morata's late goal helped Spain qualify for the 2022 World Cup and consigned Sweden to the play-offs.
Sweden goalkeeper Robin Olsen tipped Dani Olmo's shot on to the crossbar with Morata on hand to tap the ball in after 86 minutes.
Luis Enrique's side needed just a point to top Group B while Sweden needed to win to finish above their opponents.
The result means Spain have qualified for a 12th consecutive World Cup finals.
Sweden will have another chance to reach Qatar in the European play-offs in March.
Spain started the brighter with winger Pablo Sarabia curling an effort narrowly wide from 20 yards in the opening exchanges.
The visitors grew into the match and had a number of chances in the first half with forward Emil Forsberg twice going close to breaking the deadlock.
And Alexander Isak should have put Janne Andersson's side in front when through on goal midway through the second period, but the forward snatched at his chance after capitalising on some lapsed defending.
Spain held on after taking a late lead and keep up their run of reaching every World Cup since 1974.
Latest Stories
-
Prime Insight to tackle power woes and BoG loss debate this Saturday
5 seconds -
Prince Amoako Jnr scores in Nordsjaelland draw against Brøndby
34 minutes -
US to cut troop levels in Germany by 5,000 amid Trump spat with Merz
1 hour -
Sale of gold bought between 2023 and 2024 saved Bank of Ghana from a GH¢33 billion loss
1 hour -
Kurt Okraku – A man of two versions
1 hour -
Hoshii International secures gold sponsorship for Accra 2026 African Senior Athletics Championships
1 hour -
Ghana’s growth outlook dims slightly amid US-Iran conflict – Fitch Solutions
2 hours -
BoG lost GH¢9.05bn from gold purchase programme in 2025
2 hours -
Andre Ayew was my childhood hero – Kofi Kyereh
2 hours -
Trump tells Congress ceasefire means he does not need their approval for Iran war
2 hours -
Trump says he will hike tariffs on EU cars to 25%
3 hours -
Ghana warns nationals of heavy penalties for visa overstay in Ethiopia
4 hours -
May Day: TUC expects economic growth to reflect in job security
4 hours -
Foreign Affairs Ministry warns against fake immigration stamps, cites arrests of Ghanaians abroad
4 hours -
Ablakwa briefs Diplomatic Corps on UN slavery resolution, says it marks a shift from denial to responsibility
4 hours