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
-
Ghana halts power exports as Akosombo fire knocks out 1,000MW capacity
15 minutes -
Full Akosombo restoration may take up to five days — Energy ministry
43 minutes -
AeP Ghana backs National AI Strategy, says MSMEs must be central to implementation
53 minutes -
Thermal plants to run at maximum output after Akosombo fire as Ghana leans on backup capacity
1 hour -
Energy Ministry sets up 7-member committee to probe Akosombo substation fire
1 hour -
Engineers begin phased restoration of Akosombo power units after substation fire
1 hour -
Hollard Insurance opens first branch in Koforidua to deepen regional presence
2 hours -
UMB Bank rolls out ‘Legacy Care Plus’ for simpler estate planning
2 hours -
Kaba and Slit Festival returns on May 1 with celebration of old-school styles, Fugu and Batakari
2 hours -
Ernest Chemists supports Ghana Prisons as medicine shortage deepens healthcare crisis
2 hours -
Ghana Book Party debut honours four literary icons on World Book Day
2 hours -
Chris Hughton: Former Black Stars coach survives cancer
2 hours -
Queiroz controlled the narrative at unveiling despite GFA ‘decline’ — Nana Agyemang
2 hours -
AIGS urges Presidency to probe Free Zones CEO over remarks on Pentecost Church Chairman, cites security risks
3 hours -
Republic Bank posts 33.8% profit growth; shareholders hail dividend
3 hours