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'
|Allardyce: We cannot lose our cool like Tottenham|
|Rashford reminds me of me – Ronaldo|
|£170m windfall for winners of Boro-Brighton clash|
|Martinez: Leicester have not changed English football|
|Marcelino: Liverpool pushed the boundaries|
|City struggled to cope with semi-final occasion - Bale|
|Mahrez wants Leicester stay, says vice-chairman|
|Shakhtar deserved more - Lucescu|
|Klopp hails Liverpool players after ´wonderful night´|
|Sturridge all smiles after returning to lead Liverpool into final|
|Reaching the Europa League final again is a dream - Gameiro|
|Sevilla 3 Shakhtar Donetsk 1 (5-3 agg): Gameiro brace books holders´ third straight final|
|Liverpool 3 Villarreal 0 (3-1 agg): Anfield comeback sends Klopp´s men into final|
|Bologna v Milan: De Sciglio targeting European qualification|
|Leicester players ´love each other´ - vice-chairman Srivaddhanaprabha|
|Simeone rates all-Madrid Champions League final as ´50-50´|
|Eintracht Frankfurt v Borussia Dortmund: Tuchel´s men hope to extend title race|
|Crystal Palace v Stoke City: League points the priority for Pardew|
|Gray determined to prove himself at Leicester|
|Inter v Empoli: Kondogbia wants to end San Siro drought|
|Norwich City v Manchester United: Van Gaal gives United no excuses|
|Olic brands Guardiola a failure|
|Pardew seeks Leicester inspiration for FA Cup final|
|Atletico boosted by Tiago return|
|Casillas rules out Miami switch|
|Sunderland v Chelsea: Larsson eyes crucial victory|
|Dyke confirms Spurs set for Wembley stay|
|West Ham v Swansea City: Payet credits Bilic for impressive Hammers form|
|Fellaini must learn to control himself - Van Gaal|
|Kaka omitted from Brazil´s Copa America squad|
|Gazelec Ajaccio v Paris Saint-Germain: Relegation-threatened hosts eye vital win|
|Leicester City v Everton: Ranieri ready to celebrate remarkable title triumph|
|Stoke´s Joselu slams Toure and Manchester City|
|´We are the champions´ - Shaq sends musical congratulations to Northampton|
|Huth and Fellaini handed three-match bans|
|Lee set for Crystal Palace fine after Pardew remarks|
|AFC Bournemouth v West Brom: Howe feared injuries would curtail Premier League dream|
|Ranieri will not ´break´ Leicester dressing room with star names|
|Pepe: Benitez told me I was not needed|
|Ingolstadt v Bayern Munich: Title in sight for Guardiola´s men|
|Mahrez 50-50 to stay at Leicester - agent|
|Tough to emulate ´inspirational´ Leicester, warns Martinez|
|Bendtner in training at FC Copenhagen|
|Aston Villa v Newcastle United: Wijnaldum demands result to keep survival bid alive|
|Ibrahimovic could make sensational San Siro return - Raiola|
|Obertan, Marveaux released by Newcastle|
|Jovetic wants Toure, Zabaleta at Inter|
|Ramos admires Champions League final rival Simeone|
|Gotze too nice for Bayern Munich ´sharks´ - Augenthaler|
|Bale hits back at Pellegrini ´lucky´ claim|
|Jovetic desperate to earn Inter stay|
|Lucky Madrid no better than Man City - Pellegrini|
|Ferdinand slams City´s lack of desire in Champions League exit|
|Kroos: Madrid have more quality than Atletico|
|Keane: United lack character|
|Klopp: Villarreal in for tough time at Anfield|
|Copa Libertadores Review: Nacional advance to quarters, River eliminated|
|PFA chief wants Leicester stars to be honoured|
|Argentina recall Tevez for initial Copa America squad|
|Keane focused on the Republic of Ireland, not Celtic|
|Ronaldo reiterates desire for Zidane to continue as Madrid coach|
|Keane: City need to improve to win Champions League|
|Falcao left out of Colombia´s Copa America squad|
|Carragher: Sturridge must start against Villarreal|
|De La Hoya´s clanger: ´Whoever thought Leicester would win the UEFA Cup?´|
|Marotta: City asked, but it´s not time to sell Pogba|
|Marcelino wants to turn Anfield atmosphere in Villarreal´s favour|
|Marcelo calls for La Liga focus after Madrid reach Champions League final|
|Origi hopeful of returning before season´s end|
|Madrid were the better side, insists Ronaldo|
|Mangala: City should be proud of semi-final run|
|Madrid move motivated by Champions League glory, says Bale|
|We will leave our soul in the final - Ramos|
|Hart left broken by ´very lucky´ Madrid goal|
|Zidane hails victorious Madrid|
|Pellegrini disappointed to miss out in tie of few chances|
|Real Madrid 1 Manchester City 0 (1-0 agg): Zidane´s men set up 2014 final repeat|
|Lucescu: Shakhtar ready for hardest fight|
|´Benteke cost almost Villarreal´s budget!´ - Marcelino expects major Liverpool test|
|AFC Champions League Review: Big-spending Jiangsu Suning dumped out|
|Kompany off injured in Champions League semi|
|Ter Stegen: I want to stay at Barcelona|
|Vardy will thrive for England at Euro 2016, says Smith|
|Lemina eyes key role at Juventus|
|Cerezo hits back at Vidal´s ´ugly´ swipe|
|Bacca happy at Milan without European football, says agent|
|Long backs Saints to end Spurs hoodoo|
|West Ham´s Sullivan labels Leicester lucky|
|Alba admires Atletico team work|
|Ranieri deserves an honour - Italian prime minister|
|Klopp bullish ahead of semi-final showdown|
|Ranieri´s 96-year-old mother: Now my son is King of England|
|Lovren: Europa League final would save Liverpool´s season|
|BREAKING NEWS: Dembele set for long FA ban over Costa altercation|
|AC Milan ultras call for Galliani´s head over ´blatant mockery´ of fans|
|Emery wants ´inspired´ Konoplyanka in Europa League semi-final|
|Wendell Lira blames Puskas Award trip for club woes|
|Joe Cole in line for Tampa Bay Rowdies move|
|Fuchs: I could kiss Hazard after title-clinching goal|
|Hiddink turned down Leicester before Ranieri appointment|
|Arsenal did not hold their nerve in title race - Smith|
|Cazorla targets City comeback for Arsenal|
|Webb could face lifelong ban as FIFA opens proceedings|
|Smith backs Leicester to become Premier League ´force´|
|Toni to retire after Juventus clash|
|Iwobi reveals key to dream Arsenal rise|
|Allen expects to reach Europa League final|
|McLeish leaves Zamalek after 65 days|
|Football fans pile bets on Burnley to win Premier League after Leicester´s shock success|
|Ranieri: Rich teams will win for next 10 to 20 years|
|Pity we could not reward Guardiola for his three years, says Bayern captain Lahm|
|Madrid revenge no factor for Simeone|
|Copa Libertadores Review: Pumas UNAM, Atletico Nacional advance to quarter-finals|
|Adelaide want Leicester City friendly|
|Tottenham have proven critics wrong - Eriksen|
|Ferdinand ´turned on´ by Simeone´s Atletico|
|Wilson hoping Brighton experience enough for United|
|Griezmann urges team-mates to keep feet on the ground|
|We´ve learned from past errors - Fernandinho|
|Payet cleans up West Ham awards|
|´We don´t need superstars´ - Ranieri|
|Vidal: Bayern are still the best in the world|
|Guardiola: I have given my life to Bayern|
|Simeone: Atletico have eliminated two of the world´s three best teams|
|Leicester owner reveals Vardy signing doubts|
|Bayern feel cheated, says Rummenigge|