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'
|Leicester boss Ranieri admits to tactical mistakes|
|Zimbabwe v Tunisia: Kasperczek demands ruthlessness with quarter-final spot on the line|
|Southampton 3 Leicester City 0: Saints end losing streak but suffer potential Van Dijk blow|
|Juventus 2 Lazio 0: Dybala and Higuain strikes see leaders return to form|
|Iborra makes a mark at both ends as Sevilla scrape past Osasuna|
|Pogba hails ´brother´ Griezmann as Manchester United speculation continues|
|Costa fight rumour ´not nice´, says Courtois|
|Henry makes emotional Ozil plea: Stay and become an Arsenal legend|
|Welbeck still has huge promise, says Wenger|
|A-League Review: Wanderers finally end home hoodoo|
|Tevez denies he´s highest-paid player after CSL move|
|Napoli capable of greatness - Sarri|
|Montella proud of Milan display against Napoli|
|Ramos tells Madrid fans: We need support|
|Conte: Costa committed to Chelsea|
|Callejon credits ´Maradona effect´ as Napoli down AC Milan|
|Uganda didn´t deserve to lose - Sredojevic|
|Lloris kept us in the game - Pochettino backs captain despite errors|
|Guardiola ´never going to give up´ on Premier League title|
|Chapecoense make emotional return to football|
|Allardyce: Players don´t want to join Palace relegation fight|
|Pulis backs Berahino to get back on track at Stoke|
|AC Milan 1 Napoli 2: Callejon settles San Siro thriller|
|Guinea-Bissau v Burkina Faso: Cande not thinking about going home|
|Egypt 1 Uganda 0: El Said to the rescue for Pharaohs|
|Gabriel Jesus delighted to make Premier League bow|
|England boss Southgate lauds record-breaker Rooney|
|Leipzig beat Frankfurt to cut Bayern´s lead|
|Guardiola blasts missed chances, not referee, after Spurs draw|
|Candid Pochettino says City were unlucky not to beat Spurs|
|AC Milan ´still negotiating´ over Deulofeu|
|Ben Arfa content with striker role at PSG|
|Walker admits to Sterling push in contentious City-Spurs draw|
|Emery hails PSG personality after tricky Nantes test|
|Manchester City 2 Tottenham 2: Controversial Son strike bails out Lloris|
|Record-breaking Rooney: Lineker, Shearer and wife Coleen lead Twitter tributes|
|Knee surgery to end Ogbonna season - Bilic|
|Karanka hits out at ´awful´ Riverside atmosphere|
|Zidane urges Madrid fans to stick with Ronaldo and Benzema|
|Palace players not to blame for last-gasp defeat, claims Allardyce|
|Zidane frustrated as Marcelo and Modric add to Madrid´s injury worries|
|Howe praises Bournemouth ´fighters´ after Watford draw|
|Poor goals a disease for Sunderland - Moyes|
|Charlton, Ferguson hail ´true great´ Rooney|
|Tuchel annoyed by ´sluggish´ Dortmund|
|Mourinho: Rooney now a Manchester United legend|
|Ghana 1 Mali 0: Gyan heads Black Stars into quarter-finals|
|Nantes 0 Paris Saint-Germain 2: Cavani at the double as champions close on Nice|
|Better at Old Trafford, prolific against Arsenal - Rooney´s record in Opta numbers|
|Rooney: Record means a hell of a lot but I´m still disappointed|
|Fener free-kick to derby delight - Rooney´s top 10 Manchester United goals|
|Rooney merits place in history, forget the present and future struggles|
|Crystal Palace 0 Everton 1: Coleman late-show extends Allardyce´s losing run|
|Real Madrid 2 Malaga 1: Ramos double gets leaders back on track|
|Stoke City 1 Manchester United 1: Record-breaking Rooney snatches draw|
|West Brom 2 Sunderland 0: Baggies inflict more misery on Moyes´ men|
|Bournemouth 2 Watford 2: Hosts come from behind twice|
|Middlesbrough 1 West Ham 3: Rejuvenated Carroll makes the difference|
|Rooney becomes Manchester United´s all-time top goalscorer|
|Werder Bremen 1 Borussia Dortmund 2: Piszczek winner denies fightback|
|Cameroon v Gabon: Hosts look to avoid early exit|
|Swansea worthy winners at Anfield - Clement|
|Rummenigge defends Guardiola: Manchester City simply not as good as Bayern|
|Swansea had perfect gameplan, says match-winner Sigurdsson|
|Klopp baffled by sloppy Liverpool|
|Henry: Arsenal don´t need Payet – they have Iwobi|
|Allegri: Juventus have not lost their quality all of a sudden|
|Liverpool 2 Swansea City 3: Llorente and Sigurdsson stun Anfield|
|Nainggolan as valuable as Pogba - Spalletti|
|Atletico criticism excites Simeone|
|Luis Enrique worried about Eibar´s pitch|
|Januzaj: Pogba wants me back at Manchester United|
|There is nobody like him – Luis Enrique rues Iniesta absence|
|Mourinho: United need De Gea and Romero to stay|
|Chiellini: Sixth successive title would make Juventus players legends|
|A-League Review: Taggart fires Perth to glory|
|Balotelli furious after alleged racial abuse at Bastia|
|Tottenham stronger than previous seasons - Eriksen|
|Wenger prepared for 17 cup finals to overhaul Chelsea|
|Maldini: Donnarumma can emulate my Milan success|
|Klopp urges Liverpool to enjoy title race|
|Shaw going through ´difficult period´ - Mourinho|
|Klopp not worried by Sturridge, Origi form|
|De Gea backs ´amazing´ Pogba|
|Pochettino: Tottenham bigger than City|
|Conte: I trust Diego Costa 100 per cent|
|Lewandowski admits he was lucky for Bayern winner|
|City as sharp as Barca and Bayern but lacking consistency, says Guardiola|
|Nice go top but struggles continue in draw with 10-man Bastia|
|AC Milan pull Deulofeu Tweet amid reports deal not yet complete|
|New Manchester City deal for Aguero but little fanfare|
|Matip gets all clear from FIFA to play for Liverpool after Cameroon row|
|Freiburg 1 Bayern Munich 2: Lewandowski to the rescue with late winner|
|Fonte completes £8million West Ham switch|
|Morocco 3 Togo 1: Renard´s men back on track with comeback victory|
|Stoke complete £12million Berahino signing|
|Egypt v Uganda: Pressure on Pharaohs to kickstart campaign|
|Aspas responds to alleged Ramos spit|
|Stoke agree Berahino deal with West Brom|
|AC Milan complete Deulofeu loan signing|
|Gerrard returns to Liverpool as academy coach|
|Ivory Coast 2 DR Congo 2: Serey Die rescues point but holders still in trouble|
|Di Maria committed to PSG amid reported CSL interest|
|Sanchez a role model - Xhaka|
|Tuchel trusts Schurrle to fill Aubameyang void|
|Ghana v Mali: Rahman injury poses a problem for Grant|
|Depay not holding Manchester United grudge|
|I love watching them - Guardiola a huge fan of Pochettino and Tottenham|
|Klopp: I could kick Mane in the... lower back|
|Conte: Ake is ready to help Chelsea´s title bid|
|Allardyce provides Evra, Van Aanholt and Jenknson updates|
|Guardiola looks beyond beleaguered Bravo for City woes|
|Begovic could leave Chelsea - Conte|
|PSG still on the hunt for striker, says Emery|
|Mourinho: Valencia the best right-back in football|
|Mourinho on Young to China talk: He hasn´t told me anything!|
|Costa wants to stay at Chelsea, reveals Conte|
|´I played worse sometimes´ - Zidane defends Ronaldo from critics|
|Injured Iniesta to miss Eibar clash|
|Mourinho open to Depay return|
|Lyon confirm Depay arrival|
|Germany to bid for Euro 2024|
|Sydney FC 2 Adelaide United 0: Two goals in three minutes extend lead|
|Depay could face Marseille as Lyon boss Genesio hails winger´s ´big motivation´|
|Hull loan Elabdellaoui from Olympiacos|
|AC Milan make final offer for Deulofeu|
|Hughes ´wouldn´t encourage´ Bojan bids|
|Worker dies at World Cup stadium in Qatar|
|West Brom sign Livermore|
|Lyon president Aulas: Depay deal imminent|
|Aubameyang: I could leave Dortmund, but I´d never join Bayern|
|´Equating Messi with anyone else is like comparing a policeman with Batman´ - Sampaoli|
|It will take years to build football culture, Wenger warns CSL|
|´Worried´ Rakitic wants Barca renewal|
|Inter not signing Messi - Moratti|
|Luis Enrique hails Barca defence after ending Anoeta curse|
|´He is made of different stuff´ - Spalletti hails Nainggolan after wondergoal|
|Tottenham´s Janssen turned down Galatasaray move, agent claims|