Ronaldo hat-trick fires Portugal to World Cup November 19, 2013 -- Updated 2205 GMT (0605 HKT) Cristiano Ronaldo scored all four goals in the tie for Portugal. Ronaldo scores hat-trick to fire Portugal to World Cup Ibrahimovic's two goals not enough for Sweden France make history when beating Ukraine to book place in Brazil Croatia, Greece, Algeria and Ghana also through on Tuesday (CNN) -- Cristiano Ronaldo's hat-trick booked Portugal's place at the 2014 World Cup in Brazil as the Real Madrid forward ensured Zlatan Ibrahimovic will be watching the tournament on television. After Sweden led 2-1 with 18 minutes left, the 28-year-old scored a quickfire double to turn the tie on its head. Portugal's 3-2 victory in Solna enabled the visitors to qualify as 4-2 aggregate winners. Elsewhere, France qualified for the finals after making history in their 3-2 aggregate defeat of Ukraine. No side had ever come back from two goals down to win a World Cup play-off but the 1998 world champions did precisely that when winning 3-0 in Paris. Croatia, who also enjoyed a memorable 1998 World Cup when finishing third, booked their place when beating Iceland 2-0 in Zagreb. The visitors had been bidding to become the smallest nation in history to reach the finals. The final European play-off was decided by Greece, who drew 1-1 in Romania to qualify as 4-2 aggregate winners. In Africa, Ghana lost 2-1 in Egypt but reached their third straight finals when winning 7-3 on aggregate. And Algeria ensured that the same five African teams that had qualified for the last World Cup were there again. Trailing 3-2 from last month's first leg in Burkina Faso, the hosts won 1-0 in Blida to qualify on the away goals ruling. 30 of the 32 teams that will contest next year's World Cup are now known, with the remaining two places being decided on Wednesday.