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. Ibrahimović||68' 72'|
|Coach: E. Hamrén|
for R. Elm 46'
for A. Kačaniklić 82'
for S. Larsson 90'
|Robben speaks out on injury fears|
|Fiorentina 0 AC Milan 0: Ilicic misses penalty on Montella´s return|
|Gisdol replaces Labbadia at Hamburg|
|Ibrahimovic threatened me over Pogba deal - Raiola|
|Balotelli could make Nice return against Krasnodar|
|Southampton deserved to win – Bilic|
|Podolski takes aim at Mourinho over Schweinsteiger treatment|
|Atletico midfielder Augusto suffers ACL injury|
|Sagna: More to Aguero than goals|
|Errors are urgent matter for Schalke - Weinzierl|
|Puel delighted with sublime Southampton second half|
|Simeone praises ´decisive´ Gameiro|
|Noble: West Ham can´t get any worse|
|Pjanic: I will play wherever Allegri needs me|
|West Ham 0 Southampton 3: Defensive woes pile pressure on Bilic|
|Kondogbia makes the same mistakes often – De Boer|
|Gray backed by Dyche after ban for abusive social media posts|
|Gabriel needs time to get used to Serie A - Ausilio|
|Atletico Madrid´s Gimenez and Augusto doubts for Bayern Munich clash|
|Atletico Madrid 1 Deportivo La Coruna 0: Griezmann downs 10-man Depor|
|Angry Spalletti slams Roma players´ attitude|
|Liverpool have unbelievable quality - Milner|
|Simeone´s son Giovanni scores first Serie A goal|
|Ivanovic: Chelsea let Conte down|
|Inter 1 Bologna 1: Battling Bologna end Inter streak|
|Guardiola: Top-four finish very tough for Man City|
|Rodgers expecting tough test against City and Aguero|
|Zamparini admits Balotelli interested Palermo|
|Former Swansea, Arsenal great Mel Charles dies|
|Asamoah, Rugani ruled out for up to seven weeks|
|Totti reaches 250 Serie A goals in Roma defeat|
|Alves makes LaLiga history as Valencia see off Leganes|
|Guardiola rues De Bruyne injury as Man City await scan|
|Las Palmas draw could prove costly, admits Morata|
|Gabriel explains choosing Inter over Juventus|
|Hamburg dismiss Labbadia|
|West Ham players expect Payet´s free-kick magic - Antonio|
|Man City must tell Guardiola to stop, says Toure´s agent|
|Hamsik thrilled to reach 100 Napoli goals|
|Zabaleta warns Man City over Celtic backlash|
|MLS Review: Red Bulls, Toronto into play-offs|
|´We were unlucky´ - Bale|
|Guardiola keen for Spurs test|
|Rodgers: I never fell out with Sterling|
|Wenger hails ´different´ Walcott|
|Mazzarri backs Deeney for England call-up|
|Mamelodi Sundowns and Zamalek reach CAF Champions League final|
|Benzema and Morata can play together - Zidane|
|Hummels plays down injury fears|
|Las Palmas 2 Real Madrid 2: Zidane´s men held again|
|Stones benefited from Moyes´ Everton exit, says Duffy|
|Allegri unconcerned by scrappy win|
|Montella demands Milan improvement|
|Ancelotti praises Thiago after Hamburg victory|
|Conte demands better attitude from Chelsea|
|Wenger hails stylish Arsenal display|
|Moreno the unlikely subject of Klopp´s praise|
|Walcott: We wanted it more than Chelsea|
|Phelan has ´no qualms´ over another handball red card|
|Arsenal 3 Chelsea 0: Sanchez, Walcott and Ozil pile on misery for Conte|
|That was how football should be - Klopp on Hull thrashing|
|Luis Enrique plans to keep Sergi Roberto on his toes|
|Karanka draws hope from Middlesbrough´s second half|
|Stoke is stitched into my body – Pulis|
|Palermo 0 Juventus 1: Own goal helps champions stay top|
|Hughes laments two ´stolen´ points|
|Wilshere can be a brilliant player for Bournemouth, says Howe|
|Defoe rues Sunderland collapse against Palace|
|Tottenham must be more clinical - Pochettino|
|Everton were second best, says Koeman|
|Benteke: I knew a chance was coming|
|Ranieri wants answers from Leicester players after Old Trafford thrashing|
|Board can call me if they want to talk - Guidolin|
|Sterling hails Guardiola´s impact|
|Sergi Roberto revelling in new role|
|Guardiola wants Aguero improvement despite scoring streak|
|Mourinho demands more from star man Pogba|
|Sporting Gijon 0 Barcelona 5: No Messi, no problem for ruthless champions|
|Stoke City 1 West Brom 1: Rondon snatches point as Pulis reaches 1000 games|
|Sunderland 2 Crystal Palace 3: Benteke´s late header stuns Black Cats|
|Swansea City 1 Manchester City 3: Aguero at the double for Guardiola´s perfect 10|
|Bournemouth 1 Everton 0: Stanislas wonder strike ends Koeman´s unbeaten start|
|Liverpool 5 Hull City 1: Coutinho stunner caps easy win|
|Middlesbrough 1 Tottenham 2: Son shines for Spurs|
|Hamburg 0 Bayern Munich 1: Late Kimmich goal maintains Bayern´s perfect start|
|Bayern facing defensive headache after Hummels limps off at Hamburg|
|Pogba and Mata delighted by United response|
|Vardy and Mahrez were rested for Porto, Ranieri admits|
|Mourinho completely trusts dropped Rooney|
|I beat Usain Bolt in a race - Bolasie|
|Juventus still Scudetto favourites - De Boer|
|Manchester United 4 Leicester City 1: Rooney watches on as Pogba inspires Red Devils demolition|
|Robben and Ribery are like Messi, claims Helmer|
|Pochettino hints at Vertonghen renewal|
|Robben´s style makes him an injury risk - Bayern fitness coach|
|Liverpool refuse to comment on Sakho´s social media outburst|
|Rooney dropped for Leicester City clash|
|Messi injury doesn´t matter to Barcelona - Abelardo|
|Thiago Silva worried by PSG form|
|Mourinho describes Wenger relationship as ´civilised´|
|Milito: Inter are no one-man team|
|Bilic delays naming daughter due to West Ham worries|
|Fernandinho hails ´intelligent´ De Bruyne|
|Matuidi: This season toughest for PSG|
|New York City 4 Chicago Fire 1: Villa nets twice in win|
|Pjaca not Morata - Allegri|
|Guardiola keen for Kolarov extension|
|England criticism changed Rooney - Mourinho|
|Gotze detractors don´t surprise Tuchel|
|Wenger laments missing out on Costa|
|Emery deflects blame from PSG players after Toulouse defeat|
|Guidolin: It´s not possible to beat Manchester City if you don´t play well|
|Mourinho prepared to bench Rooney|
|Fitness fears over Aubameyang with Real Madrid looming|