Cristiano Ronaldo scored a brilliant hat-trick as Portugal survived a second-half scare to qualify for their fourth straight World Cup finals with a 3-2 play-off second leg win against Sweden on Tuesday to qualify 4-2 on aggregate.
The Real Madrid superstar scored all four on his side's goals including the first-leg winner as he overcame an equally brilliant display from Zlatan Ibrahimovic in a classic encounter at Solna.
Ibrahimovic scored both goals for Sweden in vain as the match featured five goals in 29 minutes of second-half madness.
Ronaldo also becomes Portugal's all-time leading scorer as took his tally to 50 and three ahead of retired forward Pedro Pauleta.
"A player who scores a hat-trick in a game of this dimension of course that has an effect that is very influential on the final result," coach Paulo Bento told Portuguese radio RTP in reference to Ronaldo's heroics.
"In the second half we demonstrated that we play better when we're more in trouble than with the advantage, and we were more at ease.
"After leading 1-0, we lost our way in some situations and we gave away two goals from set-pieces.
"But we had a great reaction and the victory is entirely fair. At 2-2 things became more relaxed and the third goal resolved the match.
"It seems fair to me that we got the victory and qualified after what we have done over the two matches." continued Bento.
With Portugal leading 1-0 after the first-leg and the match scoreless at half-time, Ronaldo turned the game on its head five minutes after the restart when he latched onto a glorious through ball from Joao Moutinho and guided a left-foot shot past the despairing Andreas Isaksson.
The counter-attack that begun inside the Portuguese penalty area, took just two touches to send the former Sporting Lisbon and Manchester United striker free on a break that went the length of the pitch.
Sweden were left facing the daunting prospect of scoring three times in 40 minutes and roused the crowd into a frenzy when Ibrahimovic headed home Kim Kallstrom's corner with 22 minutes remaining.
The packed crowd at the Friends Arena were given further hope four minutes later when English referee Howard Webb correctly awarded a free-kick to Sweden just outside the area which Ibrahimovic drilled low past Rui Patricio.
With a wave of yellow shirts bombarding the Portuguese defence, Ronaldo again came to the rescue with two goals in two minutes, both of them clinical finishes after breaking behind the defence.
Hugo Almeida set up Portugal's third goal which took the sting out of the crowd before another perfect pass from Moutinho enabled Ronaldo to round Isaksson before smashing the ball in off the underside of the bar.
"We were punished on the counter-attack after losing the ball," bemoaned Ibrahimovic.
"Their quality was only on the counter but we played a good match. It's probably my last attempt to qualify for the World Cup because by the time of the next competition, I probably won't be playing for the national team," continued the Swede.
"One thing is sure, a World Cup without me is something I won't be following. All my congratulations to Portugal, but the two teams deserved to go to the World Cup.