Updated

Cristiano Ronaldo's second international hat trick lifted Portugal into the World Cup with a 3-2 win over Sweden on Tuesday night and a 4-2 aggregate victory in their European playoff.

Ronaldo, who got the goal in Portugal's 1-0 home win last Friday, scored off a pass Joao Moutinho in the 50th minute.

Zlatan Ibrahimovic tied the score in the 68th and put the hosts ahead 2-1 with a free kick three minutes later, leaving Sweden trailing on away goals. Goals by Ronaldo in the 77th and 79th minutes sealed the home-and-home, total-goals series for Portugal, which will be going to its fourth straight World Cup.

Sweden and Ibrahimovic will miss soccer's top tournament for the second straight time.

It was the 26th professional hat trick for Ronaldo, who has 23 for Real Madrid and one for Manchester United. His first three-goal game for Portugal was Sept. 6 at Northern Ireland.