Wales have made it through to the knockout stages of Euro 2020 on goal difference – despite losing 1-0 to Italy.
Their resistance was broken just before half-time when a smart free-kick routine from the Italians saw Matteo Pessina put the home side one up.
The pressure on Wales increased as group rivals Switzerland – playing at the same time – ended the first half 2-0 up against Turkey.
The Swiss were looking to replace Wales in second spot but knew they had to win to equal Wales’s four points – and also hope for a big swing in goal difference.
Wales, meanwhile, needed to draw or win to guarantee progress.
That task got tougher for Wales when Ethan Ampadu was shown a straight red card in the 55th minute for a late lunge on Federico Bernardeschi.
Aaron Ramsey and Gareth Bale missed good opportunities in the second half – with Bale blasting a close-range volley over the bar in the 75th minute – but the team clung on.
Luckily for Wales, the Swiss could not score enough in their game in Baku – goals by Shaqiri and Kahveci made it 3-1 at the whistle.
Italy, impressive in the tournament so far, topped the group after winning all three of their games with clean sheets.
Wales’s next game will be in Amsterdam on Saturday, with their opponents still to be decided.
Meanwhile, England and Scotland both play their final group games on Tuesday.
Gareth Southgate’s side are in a strong position to qualify but will be looking to bounce back from their poor performance at Wembley with a win against the Czech Republic.
Scotland only have a point, however a win against Croatia could still be enough.