Cristiano Ronaldo's Portugal and Robert Lewandowski's Poland claimed their spots at the 2022 World Cup finals in Qatar later this year with 2-0 wins over North Macedonia and Sweden on Tuesday.
Portugal were in the play-offs having blown the last match of the group phase at home to Serbia but made no mistake in the play-offs, following their semi-final win over Turkey with another triumph in Porto.
Midfielder Bruno Fernandes fired into the bottom corner in the 32nd minute after neat interplay with Ronaldo but captain Stefan Ristovski will rue his inexplicable cross-field pass in midfield to concede possession.
Fernandes doubled the lead midway through the second half by sweeping home Diogo Jota's cross to complete a fine counter-attack and deserved win in Porto's Dragao Stadium.
"This game has to stay in the memory because we made it to the World Cup," Fernandes told SporTV. "It was a very important game, the fans were impeccable.
"Without detracting from any other stadium, the atmosphere was spectacular today. People realized what we needed."
North Macedonia had stunned continental champions Italy in their semi but fell short of a first-ever World Cup finals appearance.
"I am satisfied with my players," North Macedonia coach Blagoja Milevski said. "We should be proud of the guys for what they've done from September until today.
"They bring great potential and talent, and are well on their way to getting closer to the best in Europe."
Lewandowski 's Poland
Poland talisman Lewandowksi netted the only goal from the spot four minutes after the restart. Half-time substitute Grzegorz Krychowiak was barged over in the box by Jesper Karlström.
"We have had many problems before this match," Lewandowski told UEFA.com. "A lot of our players were injured, including me, I had [a] problem with [my] knee.
"We suffered, but now we can celebrate. I am proud and happy."
Home keeper Wojciech Szczęsny made two huge saves on Emil Forsberg either side of the goal in Chorzów and Piotr Zieliński slotted a late second to leave veteran star Zlatan Ibrahimovic, who came off the bench late on, with just one World Cup appearance in his career - back in 2006.
"Everyone is disappointed," Ibrahimovic told TV4. "That’s normal when losing. Everyone wants to play in the World Cup, but unfortunately that won’t happen."
The final European play-off spot for the November 21-December 18 tournament is set to be settled in June as Ukraine's semi-final at Scotland was postponed due to the Russian invasion. The winner will meet Wales in the final.
Friday sees the draw made in Doha with holders France, world number one Belgium and Euro 2020 runners-up England among the European nations qualified.