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
- GSE records slow performance in May 2023; Unilever, Fanmilk among big gainers
10 mins - EC member dragged to Supreme Court over alleged NPP affiliation
1 hour - Global growth to slow to 2.1% in 2023; prospects clouded by financial risks – World Bank
1 hour - Kenya to turn cult forest into a memorial site
1 hour - Rwanda genocide suspect unfit to stand trial, UN court rules
1 hour - Karim Benzema joins Saudi champions Al-Ittihad after Real Madrid exit
2 hours - Government sends proposal on debt restructuring to official creditors
3 hours - Today’s front pages: Wednesday, June 7, 2023
3 hours - KGL Group champions Diaspora Inclusion at Ghana Investment and Opportunities Summit 2023
3 hours - Kejetia traders call for implementation of fire recommendations by local government
4 hours - Gyakye Quayson shouldn’t have offered himself for election in the first place – Kwaku Paintsil
4 hours - Car washer, 20 jailed 18 months for unlawful entry and stealing
4 hours - Man, unemployed sentenced 6 years for stealing
5 hours - Assin North MP case: Supreme Court veered off the real issue before them – Ayariga
5 hours - EC’s arguments defective in logic and betray Commission’s appreciation of elementary English – NDC
6 hours