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
- Fuel prices to increase by 7%-13% from February 1, 2023 – IES
5 hours - Finance Minister may attempt to woo individual bondholders with new terms – Martin Kpebu
6 hours - Education Ministry cautions against payment of money for school placement
7 hours - Full list of winners at 47th SWAG Awards gala
8 hours - Playback: The Probe discusses Domestic Debt Exchange Programme
8 hours - Dr Ibn Kailan Abdul-Hamid appointed Head of UPSA’s Department of Marketing
8 hours - Debt Exchange Programme: Article 71 Office Holders must take a 50% haircut – Labour Federation
9 hours - CHAN 2022: CAF confirms change in kickoff time for final
9 hours - Newcastle sign Everton forward Anthony Gordon in £45m deal
10 hours - ‘We wanted a fresh start in 2023, but we have been worse’ – Klopp
10 hours - Brighton knock holders Liverpool out of FA Cup
10 hours - Moises Caicedo made ‘mistake’ asking to leave Brighton, says Roberto de Zerbi
10 hours - Pedri winner extends Barca’s La Liga advantage
11 hours - Chelsea sign teenage right-back Malo Gusto from Lyon in £31m deal
11 hours - Ghana signs agreements with Saudi Arabia on Hajj 2023
11 hours