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
-
Panic in Sunyani: Chiefs to perform rituals after mystery deaths of two successive headteachers
1 hour -
The party has lost ground – Paul Afoko breaks long silence to launch NPP comeback
2 hours -
“It is worrying” – Prof. Akosa sounds alarm over failing medical ethics
2 hours -
World Cup reality check: Mexico beat fringe Black Stars 2-0 in Puebla friendly
3 hours -
Black Stars lose 2-0 to Mexico in pre-World Cup friendly in Puebla
3 hours -
Free speech: MFWA slams ‘weaponisation’ of state laws
4 hours -
Senegal president sacks PM Sonko, dissolves government after months of friction
4 hours -
NITA defends ICT fees, rejects claims of ‘digital coup’
4 hours -
UN releases $60m from central fund to tackle lethal Ebola outbreak
5 hours -
“Put people first” – Vice-President tells global financial giants at ACI Congress
6 hours -
Vice-President commissions 100 new Metro Mass buses
7 hours -
“You do not need my permission” – Bagbin clears misconception over arresting MPs
7 hours -
Ice baths, almond milk, meditation and a ‘house like a hospital’: The secrets of Salah’s success
7 hours -
Lupita Nyong’o rejects criticism of Helen of Troy role
8 hours -
This Saturday on Prime Insight: GN Savings and Loans licence restoration and the Abronye bail debate
9 hours