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'
|Liverpool can make Champions League, says fanzine editor|
|Walsh: Hull clash crucial for Leicester|
|Toure, Aubameyang and Enyeama make shortlist for African gong|
|Docherty backs Chelsea to win two-horse race|
|Liverpool could benefit from Hyypia influence - Scales|
|Saudi Arabia name Asian Cup squad|
|Forty-year-old Cahill no problem for Postecoglou|
|Wenger criticism baffles Redknapp|
|Leicester must strengthen in window - Walsh|
|United not title contenders - Docherty|
|Koeman: Southampton youngsters will get a chance|
|Dyche empathises with Liverpool striker crisis|
|Cagliari turn to Zola|
|Rooney thanks Van Gaal for Christmas break|
|Cruzeiro offer Paulinho Tottenham exit chance|
|Carlisle´s wife grateful to Burnley|
|Katebe called up to Zambia AFCON squad|
|Cape Verde name AFCON squad|
|Finke names much-changed Cameroon squad|
|Grant omits World Cup troublemakers for AFCON|
|Blackpool striker Ranger goes AWOL|
|Allardyce relishing Mourinho meeting|
|Ashley fails to increase Rangers stake|
|Crystal Palace v Southampton: Koeman calls for focus|
|Warnock targeting striker in January|
|Chelsea v West Ham: Adrian vows visitors will attack|
|Heskey signs short-term deal at Bolton|
|Everton v Stoke City: Martinez eyes strong form|
|Juninho defends David Luiz|
|Burnley v Liverpool: Dyche defends Rodgers ahead of Turf Moor test|
|Arsenal v QPR: Wenger eyes festive momentum|
|Liverpool are growing in confidence, says Rodgers|
|Redknapp: Austin future could depend on survival|
|Martinez wants Everton consistency|
|Barca want Neymar until 2020, says agent|
|Jones undeterred by pressure of Liverpool starting role|
|Allardyce ´knows how to beat managers´ - Carroll|
|Jones playing for a new contract|
|China select Evergrande spine for Asian Cup|
|A-League Preview: Koren tips City to build|
|Khedira keen to fight for Real spot|
|Southampton confirm Elia deal|
|Cellino to remain as Leeds owner until after appeal|
|Manchester United v Newcastle United: Van Gaal demands domination|
|Van Gaal refuses to dismiss Bale speculation|
|Sunderland v Hull City: Bruce sure of Hull revival|
|Swansea City v Aston Villa: Lambert optimistic of away success|
|Agbonlahor red rescinded|
|Falcao depends on team-mates to perform - Van Gaal|
|Monk dismisses talk of Gomis move|
|West Brom v Manchester City: Pellegrini to experiment again|
|Xavi: I was ready for New York switch|
|Ibrahimovic fumes at awards snub|
|Irvine: No approaches for Berahino|
|Pearson determined to revive Leicester fortunes|
|League Two Preview: First host third as Wycombe meet Luton|
|League One Preview: Buoyant MK Dons eye more glory, Bristol City seek response|
|Championship Preview: Pritchard plotting to end Ipswich run, Bournemouth host Fulham|
|Kaboul place not guaranteed by captaincy - Pochettino|
|Koeman hopeful of Elia deal|
|Atletico president not ruling out Torres return|
|Swansea secure Oliveira signing|
|No excuses for Pellegrini|
|Walcott pace unaffected by injury|
|Former Real Madrid star Roberto Carlos backs Ronaldo for Ballon d´Or|
|Former PFA chairman Carlisle ´stable´ after serious incident|
|Balotelli remorse saved him from longer ban|
|Bayern midfielder Martinez ´on track´ with rehab|
|Pardew ´overjoyed´ at Gutierrez return|
|Spurs confirm Yedlin to join in January|
|Zeman sacked by Cagliari|
|Casillas: I´m going nowhere|
|Bruce demands McShane apology|
|Pulis would welcome Brighton talks|
|Buffon: Juve angry after Supercoppa loss|
|Arteta out until new year|
|Rangnick: Kampl deserves Dortmund switch|
|PFA offers support to Carlisle after serious incident|
|Napoli can mount title bid - Higuain|
|Cech´s agent urges Liverpool and Arsenal to make bid|
|Hart happy to be back to his best|
|Terry thrilled with ´revelation´ Matic|
|Perez rues ´unfair´ Tyne-Wear derby result|
|Khalfan Ibrahim returns from injury|
|Magath slams ´sensitive´ Fulham|
|´Limited´ attacking options inspire Postecoglou´s selections|
|Carlisle reportedly involved in serious incident|
|Primeira Liga Review: Braga leapfrog Guimaraes|
|Hughes upbeat despite Stoke defeat|