Cristiano Ronaldo's hat-trick ensured Portugal qualified for a fourth straight World Cup finals with a thrilling play-off win against Sweden.
led 1-0 going into the second leg
and dominated before Ronaldo's angled drive deservedly put them ahead.
Zlatan Ibrahimovic levelled on the night with a free header before he lashed in a free-kick as the hosts sensed an unlikely comeback in the tie.
Who has qualified?
Algeria, Cameroon, Ghana, Ivory Coast, Nigeria
Australia, Iran, Japan, South Korea
Belgium, Bosnia-Hercegovina, Croatia, England, France, Germany, Greece, Italy, Netherlands, Portugal, Russia, Switzerland, Spain
North & Central America & Caribbean:
Costa Rica, Honduras, United States
Argentina, Brazil (hosts), Colombia, Ecuador, Chile
But two quickfire goals from Ronaldo secured Portugal's place in Brazil.
The two-legged tie was billed by many as a battle between Ronaldo and Swedish counterpart Ibrahimovic for the right to showcase their supreme talents on the greatest stage of all next summer.
And the pair failed to disappoint as they became the central figures in a remarkable second half in Stockholm, where all five goals were scored in a 29-minute burst.
Sweden knew they needed to employ a more attack-minded gameplan on home turf after Ronaldo headed in a late winner in Friday's first leg in Lisbon.
But they barely threatened in a first-half performance which lacked quality and any notable opportunities for them to wipe out Portugal's slender advantage.
Erik Hamren's side did start briskly, with Martin Olsson and Alex Kacaniklic combining well down the left on several occasions.
However, they lacked a penetrative final ball and Portugal managed to ride out the pressure before gradually growing in the game, led by Ronaldo.
Real Madrid and Portugal star Cristiano Ronaldo's hat-trick against Sweden took his 2013-14 tally to a remarkable 34 goals in 24 games for club and country.
The treble also moved him level with Pauleta as Portugal's record goalscorer on 47 international strikes.
After defender Bruno Alves's downward header forced Sweden goalkeeper Andreas Isaksson into a save low to his right, the ex-Manchester United player took control of the match and orchestrated every attacking move by the visitors.
He was unable to convert a trio of difficult chances, before he turned provider with a deep cross that Hugo Almeida could only head into the side-netting with the Sweden goal gaping.
Ibrahimovic was a peripheral figure for the Swedes in Lisbon, and was almost as anonymous in the first half on Tuesday.
The Paris St-Germain striker continually dropped deep to receive the ball before half-time, but found more attacking purpose in the early stages of the second half as he pushed further forward.
World Cup woe for Zlatan
At the age of 32, Sweden skipper Zlatan Ibrahimovic may not have another opportunity to play in a World Cup finals.
And the tournament would represent a nadir in the Paris St-Germain striker's career. He has never scored at a finals having made two substitute appearances in 2002 and three starts in 2006.
And his tenacious run into the Portuguese box almost instantly paid dividends. The Swedish talisman stretched to scoop the ball back from the byeline to team-mate Seb Larsson who could only poke straight at Portugal goalkeeper Rui Patricio.
Within 90 seconds, Ronaldo silenced the noisy Friends Arena by latching on to Joao Moutinho's perfect throughball and smashing in an angled drive.
The opener meant Sweden needed to score three times to turn the tie around, but they were given hope when Ibrahimovic nodded in Kim Kallstrom's right-wing corner after marker Alves barely jumped to challenge.
The partisan Swedish crowd - perhaps taking heart from their team's remarkable comeback from
a 4-0 deficit to draw against Group C rivals Germany in October 2012
- rediscovered their voices again when Ibrahimovic thumped in a free-kick on the edge of the Portugal area.
But their hopes were quickly dashed as Ronaldo stole the show at Ibrahimovic's expense.
The 28-year-old produced two more strikes of the highest quality - which even appeared to draw applause from the Sweden skipper.
Ronaldo first latched on to Almeida's throughball to fire beyond Isaksson before rounding the Sweden goalkeeper and blasting in - to spark wild celebrations from the Portuguese camp.
- 01 Isaksson
- 02 Lustig
- 05 Olsson Booked
- 06 Elm (Svensson - 45' Booked )
- 04 Nilsson
- 13 Antonsson Booked
- 07 Larsson (Gerndt - 90' )
- 09 Källström Booked
- 10 Ibrahimovic
- 11 Elmander
- 19 Kacaniklic (Durmaz - 82' )
- 03 Olsson
- 08 Svensson
- 12 Wiland
- 14 Gerndt
- 15 Granqvist
- 16 Wernbloom
- 17 Bengtsson
- 18 Johansson
- 20 Toivonen
- 21 Durmaz
- 22 Zengin
- 23 Nordfeldt
- 12 Patricio
- 21 da Silva Pereira
- 05 Fábio Coentrão (Antunes - 52' )
- 16 Meireles (Carvalho - 73' )
- 03 Pepe
- 02 Regufe Alves
- 17 Nani Booked
- 04 Veloso
- 09 Pereira de Almeida (Moreira da Costa - 82' )
- 08 Moutinho
- 07 Ronaldo
- 01 Dos Reis Carvalho
- 06 Carvalho
- 10 Macedo Lopes
- 11 Almeida
- 13 Moreira da Costa
- 14 Neto
- 15 Freitas da Ressureicao
- 18 Varela
- 19 Antunes
- 20 Josué
- 22 Bastos Pimparel
- 23 Postiga