Italy needed extra time to see off battling Austria at Wembley and set up a Euro 2020 quarter-final against Belgium or Portugal.
Austria marked their first appearance in the knockout stage of the European Championship with a tireless performance to give their much-fancied opponents a scare.
Marko Arnautovic had a headed goal disallowed after a VAR check for offside in normal time when the game was goalless before goals from substitutes Federico Chiesa and Matteo Pessina sent Italy through.
Wales were eliminated in the second round of Euro 2020 as they were thrashed by Denmark, whose inspiring journey at the tournament continues to the quarter-finals.
Backed by a fervent and almost exclusively Danish crowd, Kasper Hjulmand’s side led as Kasper Dolberg curled in a fine 27th-minute strike from the edge of the penalty area.
Dolberg struck again in the 48th minute as he seized on a defensive error from Wales substitute Neco Williams to smash in from close range.
That goal deflated Wales, who never looked like clawing their way back into the game as Joakim Maehle added a late third for the jubilant Danes.
Substitute Harry Wilson was then shown a straight red card for a late foul on Maehle before Martin Braithwaite struck a fourth goal in added time as Wales’ campaign ended miserably.