Portugal reached the FIFA Confederations Cup semis thanks to a 4-0 win over New Zealand in their final group game in Moscow, Russia.
The European champions came into the game in second behind Mexico in the group but ended on top by virtue of better goals difference.
Captain and reigning Ballon d’Or holder, Cristiano Ronaldo put Portugal in front with a well struck penalty after 33 minutes.
New Manchester City signing, Bernando Silva then doubled Portugal’s lead four minutes later with his last act in the game.
The former Monaco winger had to go off right after with an ankle injury picked up from scoring the goal.
It did not slow Portugal down, though, as Andre Silva made it 3-0 in the 81st minute.
Substitute, Nani, then wrapped up a comfortable win for Portugal in the 90th minute.
Portugal top Group A with seven points, with Mexico ending in second place on goal difference to join them in the semis.
Mexico came from a goal down to claim a 2-1 win over host nation, Russia in Kazan thanks to a goal in each half by Nestor Araujo and Hirving Lozano.
Aleksandr Samedov had put Russia ahead on 25 minutes but his effort proved in vain for his nation.
It is the first time since 2001 that the FIFA Confederations Cup hosts have failed to reach the semis.
Portugal and Mexico now await the top two teams from Group B, with world champions Germany and South American champs, Chile favourites to qualify from there.
Both nations have four points, with group leaders Chile facing Australia on Sunday while Germany meet Cameroon at the same time.