Cristiano Ronaldo scored twice as Portugal thrashed Poland 5-1 thanks to a rampant second-half display on Friday to reach the Nations League quarter-finals, while already-qualified Spain beat Denmark.
Roberto Martinez’s Portugal wrapped up top spot in Group A1 with a game to spare, securing their place in the next round in March.
France, Germany and Italy are also already through to the last eight.
Poland were the better side early on but failed to take their chances in Porto and the home side made them pay, netting four times in the last 20 minutes.
“We couldn’t impose ourselves on the game in the first half,” said Portugal goalscorer Rafael Leao.
“(Coach) Roberto Martínez’s approach in the locker room was important; it was the key to changing the pressure at half-time.”