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'
|Zeman resigns from Cagliari post|
|Opportunity knocks as Dyche plans for Barnes absence|
|Berbatov dreaming of Champions League semi-final|
|Benzema joins Real´s injury list|
|Jenkinson: West Ham will not settle for mid-table|
|Montella calm over fan frustrations|
|Blanc: Barca are the model for PSG|
|Newcastle just need three more points - Janmaat|
|Gaya: Six finals left for Valencia|
|Muller wary of Porto counter-attacks|
|Bartomeu plays down Pogba link|
|Verratti hails ´essential´ Ibrahimovic|
|Zidane backs PSG to upset Barca|
|America v Montreal Impact: Klopas unfazed by host´s form|
|Vlaar open to Villa stay|
|Shepherd urges fans not to boycott Newcastle|
|Maritimo 1 Nacional 1: Tiquinho ensures derby finishes all square|
|Fiorentina 0 Verona 1: Diamanti and Neto pay the penalty|
|Elche 1 Real Sociedad 0: Bergara gifts win to hosts|
|Van Persie returns in Under-21 game|
|Turkish Super Lig Review: Galatasaray slip sees Fenerbahce go top|
|Russian Premier League Review: Arsenal Tula and Rostov maintain survival bids|
|Frontzeck named as Korkut´s replacement at Hannover|
|Lopetegui wary of Bayern backlash|
|Pastore plays down Cantona´s world best tag|
|PSG absences no excuse for failure - Blanc|
|Suarez sad to see Gerrard leaving Liverpool|
|Cleber injury adds to Hamburg woes|
|Northern Ireland free to play Romania at Windsor Park|
|Juve sweating on Vidal availability|
|Monaco v Juventus: Evra ready to take control|
|Striking concerns for Chelsea after Drogba injury|
|PSG and Chelsea have bid for Dybala, claims agent|
|Pogba can leave Juve for ´right offer´|
|Bendtner dropped after arriving late for training|
|Messi achievement unrepeatable, says Luis Enrique|
|Football League Preview: Preston and MK Dons battling to join Bristol City|
|Real Madrid v Atletico Madrid: Ancelotti optimistic amid injury concerns|
|Iniesta declared fit for PSG second leg|
|Bale remains a doubt for Atletico clash|
|Schweinsteiger set to face Porto, Ribery to miss out|
|No broken cheekbone for Silva|
|Final appearance can remove negativity at Villa - Fox|
|Bale selected in Football League Team of the Decade|
|PSV director: United and PSG want Depay|
|Korkut sacked by relegation-threatened Hannover|
|Sherwood: Pressure all on Arsenal|
|Newcastle in a ´dangerous moment´ - Colback|
|Kovac hopes to have Modric fit for Euro qualifier|
|Copa Libertadores Preview: Cruzeiro boss Oliveira does not fear sack|
|MLS Review: Revs extend unbeaten run, Timbers stun City|
|Fournier proud and disappointed|
|Shaw ready to make an impact|
|Hazard among best three in the world - Mourinho|
|Carver: Newcastle are in relegation battle|
|CAF Champions League Review: Setif get two away goals, Al Ahly denied late on|
|Inzaghi praises Milan derby officials|
|La Liga Review: Granada frustrate Sevilla, Villarreal´s woes continue|
|Inter should have had a penalty, Mancini fumes|
|Ligue 1 Review: Lyon return top after derby draw|
|Inter 0 Milan 0: Disappointing derby ends in stalemate|
|Primeira Liga Review: Sporting made to battle, Penafiel running out of time|
|Balotelli targets officials in latest social media outburst|
|Bundesliga Review: Werder Bremen edge Nordderby, De Bruyne rescues Wolfsburg|
|Serie A Review: Napoli close on stumbling Roma|
|Pochettino congratulates 30-goal Kane|
|Rodgers questions Liverpool´s mental strength|
|Carver counting on experience after latest defeat|
|Sherwood marvels at Grealish potential|
|Eredivisie Review: Dordrecht relegated as Go Ahead Eagles stun Feyenoord|
|Newcastle United 1 Tottenham 3: Losing streak continues amid fan boycott|
|Kouyate elbow on Silva accidental - Allardyce|
|Aston Villa 2 Liverpool 1: Delph ends Gerrard´s hopes of dream farewell|
|Pellegrini hails City response to derby defeat|
|Silva back home after Kouyate elbow|
|Manchester City 2 West Ham 0: Silva injury sours routine win|
|Bayern Munich v Porto: Neuer rallies Germans for uphill battle|
|Barcelona v Paris Saint-Germain: Marquinhos keeps the faith ahead of Camp Nou test|
|Fer closes in on QPR return|
|Crouch set for surgery|
|Dortmund confirm Tuchel as Klopp replacement|
|Adams leaves relegation-threatened Tranmere|
|Real still unsure over Modric injury|
|Tevez rubbishes Juve exit talk|
|Moyes: I had to fight to keep Rooney at United|
|Perth Glory 3 Melbourne City 1: Maclaren treble the difference|
|Dyche: Burnley are too honest|
|Illarramendi eager for Real stay|
|Hazard issues Chelsea warning|
|MLS Review: Injury-time winner buoys Galaxy, Martins shows class for Sounders|
|Pastore talents ´unpredictable´ - Blanc|
|Liverpool much bigger than City - Rodgers|
|AFC Champions League Preview: Evergrande look to progress|
|Clarke expects distraught Federici to bounce back|
|Toure is City´s scapegoat - agent|
|Allegri praises high-flying Juve|
|Athletic Bilbao 4 Getafe 0: Hosts end winless run|