Wales will face Slovenia in a two-legged Nations League relegation play-off next March as Craig Bellamy's side bid to preserve their place among Europe's elite.
The draw has handed Wales a meeting with Bostjan Cesar's Slovenia, who finished second in their League B group, with the winner securing a place in League A for the next edition of the competition.
Double-header dates and group struggles
The first leg will take place in Slovenia between March 25 and 27, with Wales hosting the return fixture between March 28 and 30. Exact dates, kick-off times and venues have yet to be confirmed.
It represents another significant challenge for Bellamy, whose side finished bottom of their Nations League group after a difficult campaign against Portugal, Denmark and Norway.
Wales managed just one victory from their six matches, beating Norway 2-1 at home in October, but suffered defeats in the reverse fixture in Oslo and in both meetings with Portugal and Denmark.
Slovenia's strong group campaign
Despite those results, Bellamy has spoken positively about the progress his team has made against some of Europe's strongest nations, and Wales will now have an opportunity to retain their top-flight status.
Slovenia, however, will provide a stern test. Cesar's side lost just once during their Nations League group campaign, a 2-1 defeat away to Switzerland, who ultimately topped the group.
They also enjoyed an impressive record against Scotland, taking four points from their two meetings, including a 2-1 victory in Glasgow last month. Slovenia held both Switzerland and Scotland to goalless draws at home, while they also recorded convincing victories over North Macedonia, winning 2-0 on home soil and 3-0 away in their final group fixture earlier this week.
Euro 2028 qualifying implications
The play-off will determine which nation competes in League A when the Nations League returns for its 2028/29 edition, with the losing side dropping into League B.
However, Wales' disappointing group finish has already had consequences beyond the Nations League itself. By finishing bottom of Group A4, Bellamy's side have missed out on a place among the top seeds for the Euro 2028 qualifying draw, which takes place in Belfast on December 6.
That means Wales could find themselves drawn alongside one of Europe's leading nations as they attempt to qualify for a tournament they will help host alongside England, Scotland and the Republic of Ireland. Spain, France, Italy, the Netherlands and Portugal are among the countries guaranteed to be in pot one, while England will also be top seeds.
Routes to the finals
The Three Lions will be kept apart from Wales and the other co-hosts in qualifying, but Bellamy's men could still face a difficult route to the finals.
There are several avenues through which Wales could secure their place at Euro 2028. The 12 qualifying group winners and eight best-ranked runners-up will qualify automatically, while two additional places are reserved for the highest-ranked co-hosts who have not already qualified through the conventional route.
Should Wales fail to secure one of those places, they could still have the opportunity to qualify through the play-offs. Those places will be determined by Nations League rankings, meaning Wales are well placed to have another route available should they need it.