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'
|Maldini would ´love´ to help Milan|
|Doyle set for Rapids debut versus Whitecaps|
|MLS Review: Champions end winless run on day of late drama|
|Jemez doubted Rayo future|
|Zenga could replace Mihajlovic - Osti|
|Blanc wants to avoid Chelsea-like finish|
|Menez happy in Milan|
|Sherwood: Vlaar wants to stay|
|Arsenal v West Brom: Wenger calls for focus|
|Porto 2 Penafiel 0: Danilo scores in farewell game|
|La Liga Preview: Eibar, Almeria hoping for final-day salvation|
|Eredivisie play-offs: Go Ahead suffer surprise defeat, NAC win|
|South Africa warm up for COSAFA Cup with victory|
|Rodriguez will be like a new signing - Adkins|
|Renard leaves Ivory Coast role amid Lille speculation|
|Howedes doubtful for start of next Bundesliga campaign|
|Deschamps: Pogba and Evra will be happy to face Albania|
|Everton v Tottenham: Pochettino eyeing fifth spot|
|Crystal Palace v Swansea City: Pardew admits to talent envy|
|Van Gaal confident of keeping De Gea|
|Spurs to support Adebayor over family issues|
|Manchester City v Southampton: Koeman expects no favours from hosts|
|Chelsea v Sunderland: Champions set to finally lift trophy|
|Mancini: Inter need quality|
|Van Gaal: No favours for ex-United captain Bruce|
|Leicester City v QPR: Ramsey expects doomed Rangers to show pride|
|Koeman expecting quieter close season|
|Hughes delivers positive update on Bojan|
|Advocaat considering Sunderland offer|
|Hull City v Manchester United: Bruce accepts survival is tall order|
|Stoke City v Liverpool: Rodgers keen to move focus away from Sterling|
|Allardyce won´t let us down, says Bruce|
|Berahino can leave for top-four club - Pulis|
|Aston Villa v Burnley: Sherwood wanting win ahead of cup final|
|Big clubs would be making a ´mistake´ signing Bolasie|
|Peterborough announce Robertson as new manager|
|Relieved Sherwood eager to kick on|
|Newcastle United v West Ham: Carver dreading ´unbearable´ drop|
|Pellegrini unsure over Milner future|
|I am not good enough to win treble every year - Guardiola|
|Luis Enrique refuses to be drawn on Barca future|
|Ntep handed France call-up|
|Allegri compares Juve to class of 2003|
|My future to be decided on Monday - Allardyce|
|Ancelotti expects to stay at Real despite speculation|
|Play-off finals to go ahead despite discovery of World War II bomb|
|Mourinho lauds ´legend´ Lampard|
|Milan v Torino: Shadow of Ancelotti hangs over Inzaghi|
|Speroni extends Palace contract|
|Ramsey issues QPR warning|
|Valverde signs new Bilbao contract|
|Welbeck could miss FA Cup final and England double header|
|League One play-off final Preview: Preston hoping to end hoodoo|
|Rodgers expects Sterling talks to resume|
|Martinez dismisses Oviedo exit talk|
|Neil hoping to draw on previous play-off success|
|Cisse weighing up offers from USA, India and Poland|
|Hazard announced as Premier League´s Player of the Season|
|United should sign Cech if De Gea leaves - Scholes|
|Copa Libertadores Review: Cruzeiro draw first blood away from home|
|MLS Preview: Wondolowski poised for 100-goal club|
|Ligue 1 Preview: Monaco, Marseille, Saint-Etienne battle for Champions League spot|
|Bundesliga Preview: Relegation battle set for dramatic end, Dortmund to farewell Klopp|
|Serie A Preview: Radu in doubt for crucial Rome derby|
|Stankovic denies talk of Inter return|
|Benitez would be ´happy´ to manage Real - agent|
|Newcastle not expecting favours from Allardyce - Carver|
|Lacazette can be ´world class´ - Houllier|
|Hodgson defends Sterling|
|Eredivisie Review: Heerenveen and Vitesse seize initiative|
|Prince Ali confirms World Cup expansion plans|
|Giroud hits back at ´dull´ Henry over Arsenal comments|
|Real Madrid v Getafe: Ancelotti banned in potential Bernabeu farewell|
|Stoke secure permanent Wollscheid deal|
|Ligue 1 relegation places cut to two|
|Bayern Munich v Mainz: Champions out to ring in title with return to form|
|Granada v Atletico Madrid: Tiago ready for difficult final day|
|Luis Figo statement on FIFA president candidacy withdrawal|
|Barcelona v Deportivo La Coruna: Xavi prepares to bid farewell to La Liga|
|New Liverpool deals for Ibe and Flanagan|
|The tooth hurts for Hazard as he looks set to miss Sunderland clash|
|Juventus v Napoli: Double winners prepare to celebrate|
|Luis Figo withdraws from FIFA presidency race|
|Bielsa not expecting contract offer from Marseille|
|Hodgson: No England rift with United over Shaw|
|Genoa v Inter: Mancini´s men chase European berth|
|Borussia Dortmund v Werder Bremen: Klopp looks to sign off with European qualification|
|Bartomeu hits out at Ancelotti to Barca rumours|
|Paris Saint-Germain v Reims: Parisians ready to celebrate title triumph|
|I have not spoken to any clubs, insists Klopp|
|League Two play-off final Preview: Ainsworth claims underdog status|
|Sheringham named Stevenage boss|
|Lawless banned for football betting|
|Defence should be United´s priority, says Stam|
|Klopp vows to ignore nostalgia at final home game|
|Hodgson excited by new England call-ups|
|Xavi: Barca will survive without me|
|Benzema sustains hamstring injury|
|Maiden England call-ups for Austin, Vardy and Heaton|
|Kramer relishing Leverkusen return|
|Xavi confirms Barcelona departure|
|Sterling ´definitely not signing´ new Liverpool deal - agent|
|Herrera eyes second-season improvement|
|Kane plans long Tottenham stay|
|Schmidt signs new Leverkusen deal|
|Sterling should stay at Liverpool, says Redknapp|
|Van Praag withdraws from FIFA presidential race|
|Financial fair play here to stay, warns Platini|
|Zidane: Gerrard and me are alike|
|Drobny ruled out of Hamburg finale|
|Defoe: We want Advocaat to stay|
|Zorc expects Hummels to stay|
|Wilshere happy with position|
|Moreno talks up Europa League|
|Santa Fe 1 Internacional 0: Mosquera nets injury-time winner|
|Sporting Kansas City 4 New England Revolution 2: Nemeth inspires victory|
|Dunga calls up Fred, Felipe Anderson for Olympic trials|
|Koke wants to be Atleti´s Gerrard|
|Tinkler: FFA are ripping off owners|
|Klopp will excel at big club - Feulner|
|Allegri concedes cards fell Juve´s way|
|Estoyanoff cops six-game ACL ban for punching|
|Desailly: Mourinho would have won title with City|
|Teary Advocaat delighted to silence the Sunderland doubters|
|Pioli bemoans Lazio´s lack of luck|
|Chiellini salutes Juve fight after Coppa triumph|