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. Ibrahimovic||68' 72'|
|Coach: E. Hamrén|
for R. Elm 46'
for A. Kačaniklić 82'
for S. Larsson 90'
|Swansea well beaten by Bournemouth|
|Pellegrini concerned by ´high risk´ pitch|
|Poyet issues Wickham warning|
|Ramos makes Dortmund bow in Chievo win|
|Medel agent in Cardiff to discuss Inter deal|
|Remy to join up QPR squad|
|Falcao to feature against Valencia|
|Wenger brushes off Balotelli rumours, Gerrard claims|
|Blanc stresses Trophee des Champions importance|
|Pardew hopeful of Ferreyra loan|
|Leeds to meet with police to discuss outstanding fees|
|Bernabeu redevelopment plans halted by Spanish court|
|Malaga complete Ochoa deal|
|Man arrested over match-fixing claim in Bulgaria|
|Osvaldo could join Inter in Taider swap|
|Murcia denied Segunda participation over financial woe|
|Guardiola delighted with Guadalajara triumph|
|Wenger rules out Quintero capture|
|Ansaldi joins Atleti on loan|
|Seferovic signs on at Frankfurt|
|Van der Vaart not ruling out QPR move|
|Hiddink eyes more Netherlands progress|
|Palace snap up free agent Hangeland|
|Davies competition can help me improve, insists Rose|
|Basanta completes Fiorentina move|
|Sporting slam Dier´s father and representative|
|Grenier denies missing training|
|Lazio bring Braafheid in from the cold|
|Leboeuf: Ibrahimovic should be PSG captain instead of Silva|
|Villa must heed Keane advice, says Lambert|
|Falque joins Genoa|
|Henderson: Gerrard is irreplaceable|
|Milner: I´ll stay if I´m playing|
|Samp swoop for Bergessio|
|Evans impressed by Van Gaal´s attention to detail|
|Cordoba sign Rossi on loan from Juve|
|Brondby ´will do everything´ to sign Agger|
|Seedorf ´still has Milan contract´|
|Blaszczykowski: Dortmund will always be number one|
|Mourinho hints at Cech exit|
|Osman sets sights on silverware|
|Sahin to miss Dortmund´s Bundesliga opener|
|Griezmann ´didn´t think twice´ about joining Atletico|
|Fletcher tips bright future for Herrera|
|Swedish defender Mellberg retires|
|Copa do Brasil Review: Vasco da Gama, Novo Hamburgo advance|
|Courteous Chelsea players welcome Courtois|
|UEFA to investigate fan violence in Kiev|
|Ribery shines as Bayern edge out Guadalajara|
|Lampard´s short-term future set to be decided|
|Villa wants to leave legacy|
|Cabaye fresh for PSG´s trophy assault|
|Pique: I am far from the world´s best defender|
|Schneiderlin staying put, says Koeman|
|Digne: PSG have acclimatised in China|
|Atletico say no to Torres, Hernandez|
|Mata buoyed by early form|
|Bruce rues calamitous Huddlestone miss|
|UEFA Europa League Review: Torino mark return with big win, Lyon victorious|
|Southampton win again|
|Jenkinson agrees West Ham loan|
|Tottenham agree Dier move|
|Rincon seals Genoa move|
|Dunne announces international retirement|
|Romulo close to Juve switch|
|Trencin 0 Hull City 0: Huddlestone pays penalty in Hull stalemate|
|Rennes prise Prcic away from Sochaux|
|CSL Preview: Liaoning look for swift response, buoyant R&F visit Henan|
|Pique desperate to regain high standards|
|Marseille agree three-year Stade Velodrome lease|
|Torres will not be leaving, says Mourinho|
|Bastia bring in Brandao|
|Paris Saint-Germain v Guingamp: League and cup winners battle for Trophee des Champions|
|Argentine Primera Division suspended after Grondona death|
|Immobile: Lewandowski is the past, I am the future|
|Rose pens new Tottenham deal|
|CSL Review: Evergrande end Harbin run, Henan edge clear of danger|
|Ivory Coast appoint Renard|
|Three-man shortlist for South Korea post|
|MLS Preview: Sounders aiming to bounce back against Earthquakes|
|Personal reasons behind Evra´s Juve switch|
|Liga MX Preview: Monterrey out to continue winning run|
|J.League Preview: Oenoki begins S-Pulse reign at Tokyo|
|K.League Preview: Jeonbuk face tricky Jeonnam test, Pohang visit Suwon|
|Kakuta loaned to Vallecano|
|Morrison remanded in custody|
|Hernandez coy on United exit|
|Neymar on road to recovery|
|Feyenoord capture Wilkshire and Basacikoglu|
|Yoel makes Valencia switch|
|Heaton extends Burnley deal|
|Lees leaves Leeds for Wednesday|
|Caballero eyes first-team action|
|Newcastle ´monitoring´ Remy, claims Pardew|
|Rodriguez ready to fight for Real place|
|Cavani ´certain´ he will stay with PSG|
|Morrison charged with assaults|
|Copenhagen slam security after fan violence in Kiev|
|Gerrard: Suarez ´too good´ for Arsenal|
|Mourinho explains Lukaku exit|
|Simeone content with Atleti workout|
|Milligan: Australia targeting Asian Cup|
|Ronaldinho rules out retirement|
|Rodgers challenges Henderson|
|Jovetic can be City catalyst - Pellegrini|
|Janko joins Sydney as marquee|
|Deila ´unbelievably disappointed´ with Celtic|
|MLS Review: DC close on Sporting, Red Bulls hold RSL|
|Ecuadorian Primera A Review: Emelec crowned champions|
|Bolivar 1 San Lorenzo 0 (agg 1-5): Visitors advance to maiden Libertadores final|
|Gerrard open to move abroad|
|Lukaku tells Chelsea ´no hard feelings´|
|Zaha eager to impress Van Gaal|
|Liverpool down Man City after shoot-out|
|Atletico fall to Gonzalez´s penalty heroics|
|Glazers offer up 8m United shares|