Cristiano Ronaldo's hat-trick secured Portugal's place in the 2014 FIFA World Cup finals as Sweden were beaten 3-2 in Solna.
Ronaldo had scored the only goal of the first leg in Lisbon on Friday night and it looked to be plain sailing for Portugal when he opened the scoring in the second leg just after half-time.
However, this had been billed as duel between Zlatan Ibrahimovic and Ronaldo and the Sweden skipper stepped up to the plate with a double to level the tie on aggregate at 2-2.
Portugal were still in front on away goals and Ronaldo made sure as he first levelled on the night and then scored his hat-trick to take his tally to 13 goals in his last six games and become his country's joint-leading scorer in the 4-2 aggregate win.
Such was Ronaldo's brilliance that Ibrahimovic applauded the Real Madrid striker when he scored his second goal as Portugal qualified for a fourth consecutive World Cup finals, while Sweden miss out for a second successive finals.
Portugal lost striker Helder Postiga to injury in the warm-up and so Hugo Almeida replaced the Valencia striker, while Sweden coach Erik Hamren kept faith with the same side that was beaten in Lisbon on Friday night.
After a frantic start it was Portugal who came close to the opening goal after 15 minutes, when Bruno Alves rose to meet Jose Moutinho's inviting free-kick and his downward header was palmed away by Andreas Isaksson.
Ronaldo tried his luck with his left foot from 25 yards 10 minutes before the break, but Isaksson got down to make the save. And the Real Madrid forward should have done better less than a minute later when he blazed over the crossbar from around 12 yards out after Joao Pereira picked him out.
Sweden were struggling to live with the Portugal captain's movement and seven minutes before half-time he found space then stood up a cross to the back post for Almeida, but the Besiktas striker headed wastefully wide of the near post from close range.
Ronaldo had yet another chance two minutes before the break when he got on the end of Nani's cross but once again failed to test Isaksson.
Sebastian Larsson had a golden opportunity to put level the tie three minutes into the second half when Rui Patricio denied him from 10 yards out after Ibrahimovic had pulled the ball back.
And that miss proved costly, as just a minute later Moutinho set Ronaldo away with a delightful throughball and this time he made no mistake with a deadly left-foot finish to stun a partisan crowd.
Sweden looked devoid of ideas, but they were given a lifeline after 67 minutes when Ibrahimovic headed home a corner from the right.
The Swedes thought they had a penalty soon after when Kim Kallstrom tumbled in the area, but referee Howard Webb booked the midfielder for diving.
Ibrahimovic took things into his own hands once again, however, when he rifled a free-kick through the wall 18 minutes from time to level the tie on aggregate.
Ronaldo was not finished yet, though, and he levelled with a fine left-foot finish as Sweden were hit on the break 13 minutes from time and then completed his hat-trick a minute later by rounding the keeper and netting once again.
There was still time for Ronaldo to almost become Portugal's leading scorer, but this time he was narrowly off target. However, that was never going to take the gloss off his outstanding display.
|10||Z. Ibrahimović||68' 72'|
|Coach: E. Hamrén|
for R. Elm 46'
for A. Kačaniklić 82'
for S. Larsson 90'
|Fabregas dismisses exit rumours, committed to Conte and Chelsea|
|De Boer encouraged as Inter´s wait continues|
|Barca ´strengthened´ by Luis Enrique´s 100th win|
|Fekir to undergo knee operation|
|Monaco 3 Paris Saint-Germain 1: Ligue 1 champions suffer early loss|
|Aguero facing possible Manchester derby ban|
|Athletic Bilbao 0 Barcelona 1: Rakitic strike extends Barca´s strong start|
|West Ham´s Antonio handed first England call-up|
|Guardiola ´so optimistic´ after Man City´s perfect start|
|Inter 1 Palermo 1: Icardi gets De Boer´s men off the mark|
|Credit Guardiola for boost in form, says Sterling|
|Manchester City 3 West Ham 1: Hosts stay perfect under Guardiola|
|Cavani won´t return to Napoli - De Laurentiis|
|Pulis puts 48-hour deadline on Berahino future|
|Zaza awaits ´new adventure´ at West Ham|
|Karanka open to transfer ´surprises´ after strong Middlesbrough start|
|Dost completes Sporting move|
|Allardyce wanted N´Zonzi for England|
|World Cup could be expanded - Infantino|
|West Brom 0 Middlesbrough 0: Booed Berahino benched for dour draw|
|Gyan´s ´destiny´ in England, Sunderland return an option|
|Zidane wanted Pogba and Madrid are weaker without him - Raiola|
|Juventus end Matuidi pursuit|
|´He´s freaking amazing!´ - Balogun hails Dortmund´s Dembele|
|Thohir thrilled as Inter confirm Joao Mario signing|
|Fabinho expects Monaco stay despite Manchester United links|
|Infantino has Blatter wine cellar removed as part of FIFA reform commitment|
|West Ham seal Zaza loan|
|Joao Mario posts heartfelt thanks to Sporting after record-breaking Inter move|
|Aguero: I´m not competing with Ibrahimovic|
|Mihajlovic: Maksimovic is dead to me|
|Risdon replaces Wright for Socceroos|
|MLS Review: DC United in goal-fest, Impact stun Toronto|
|Schmeichel to undergo surgery|
|Milik revels in ´dream´ brace as he ignores Higuain shadow|
|Rossi to join Celta Vigo|
|Ayestaran: Barcelona target Alcacer unable to compete|
|Simeone: Winless Atletico must remain calm|
|Griezmann: Atletico must improve or face relegation fight|
|Sterling ´feels the love´ at City - Guardiola|
|Stones glad he did not end up at Chelsea|
|James impact earns Zidane´s praise|
|Montella bemoans AC Milan´s indiscipline|
|Leganes 0 Atletico Madrid 0: Returning Griezmann fails to inspire turgid visitors|
|Everton fan passes away after taking ill at Goodison Park|
|Napoli 4 AC Milan 2: Milik and Callejon at the double against Montella´s nine men|
|Aubameyang eyes Lewandowski duel|
|International break timely for Hull recruitment - Phelan|
|Real Madrid 2 Celta Vigo 1: Late Kroos strike saves hosts|
|Mourinho worry over Fellaini back injury|
|Allegri marvels at ´exceptional´ Khedira|
|Mourinho promises more chances for matchwinner Rashford|
|We didn´t play our best - Tuchel|
|Rashford: Setbacks part of football|
|No hiding, Arsenal want the title - Cech|
|Hull City 0 Manchester United 1: Rashford´s late show thwarts Phelan´s battlers|
|Bamford nearing Burnley loan|
|Leicester proved they are still one of the best - Guidolin|
|Pardew stands by unsettled Zaha|
|Koeman sympathises with Hughes´ frustration|
|Lazio 0 Juventus 1: Khedira nets again as Allegri´s men prevail|
|Moyes defends Pickford after late howler|
|Conte: Hazard can still improve|
|Hughes bemoans confusion over new refereeing directives|
|Howe regrets Bournemouth caution|
|Home draw leaves Puel frustrated|
|´A goalscorer never forgets´ - Ranieri thrilled as Vardy returns to form|
|Derby sign Vydra from Watford|
|Wenger flags imminent arrival of Mustafi, Perez|
|Crystal Palace 1 Bournemouth 1: Dann late show denies Cherries|
|Southampton 1 Sunderland 1: Pickford howler costs Black Cats two points|
|Chelsea 3 Burnley 0: Hazard shines in dominant win|
|Everton 1 Stoke City 0: Joy for Koeman at Given´s expense|
|Leicester City 2 Swansea City 1: Vardy and Morgan give champions first win|
|Watford 1 Arsenal 3: Sanchez inspires Gunners´ first win of the season|
|Borussia Dortmund 2 Mainz 1: Aubameyang double seals winning start for Tuchel´s men|
|Klopp defends benching Sturridge|
|Pochettino satisfied with Liverpool draw|
|Milner: Liverpool didn´t do enough after leading|
|Lahm ready to run the hard yards for Ancelotti|
|United have the fear factor back - Shaw|
|Tottenham 1 Liverpool 1: Rose denies Klopp´s men victory|
|Donnarumma called up as Ventura turns to youth|
|´Unique, exceptional work´ - Luis Enrique hails departed Bravo|
|Luis Enrique won´t rule out Munir exit|
|Portugal´s powerhouses divide to conquer once more|
|Ter Stegen, Mascherano in Barcelona squad for Athletic clash|
|Guardiola passion infectious, says Bravo|
|Palermo confident of Balotelli deal|
|Bayern are free of Guardiola´s chains, says Scholl|
|Ronaldo: I´ll be back in no time|
|Colombia name squad for Venezuela, Brazil qualifiers|
|Pellegrini becomes Hebei China Fortune coach|
|Klopp has ´no doubt´ over Henderson´s Liverpool future|
|Lallana understands questions over Liverpool displays|
|Real Salt Lake 2 Colorado Rapids 1: Movsisyan at the double|
|Wenger insists Perez and Mustafi are not panic buys|
|Ranieri confident of Vardy resurgence|
|Atletico send Jota on loan to Porto|
|Mourinho not rushing ´super´ Mkhitaryan|
|Bayern to meet Augsburg, Dortmund face Union in DFB-Pokal second round|