Federico Chiesa and Matteo Pessina scored in extra time as Italy beat Austria 2-1 to move into the Euro 2020 quarter-finals.
The win set a new national record as they extended their unbeaten run to 31 games, surpassing the 30-game streak posted under Vittorio Pozzo between 1935 and 1939.
Marko Arnautovic saw an effort ruled out by VAR in the second half as Austria threatened to cause an upset, but substitutes Chiesa and Pessina booked the Azzurri's last-eight spot with clinical finishes in the first half of extra time, although Sasa Kalajdzic did set up a frantic finish with his 114th-minute effort.
Roberto Mancini's side will face the winner of Sunday's clash between Portugal and Belgium in Munich on Friday.
Italy started strongly and had seven shots before the half-hour mark, Daniel Bachmann keeping out Nicolo Barella with his feet in what was the Azzurri's best chance in that period.
At the other end, Arnautovic blazed over from a promising position, while Ciro Immobile crashed a superb effort off Bachmann's right-hand post from 25 yards.
Bachmann pawed away a low effort from Leonardo Spinazzola shortly before the interval as Italy ultimately failed to make their first-half dominance count.
Austria improved dramatically after the break and thought they had gone ahead midway through the second half, but Arnautovic's deft header was ruled out by VAR for offside.
Franco Foda's side might have thought they would have the edge in extra time given Italy's lethargy for much of the second period, yet it was the Azzurri who struck the decisive blow.
Chiesa controlled Spinazzola's cross in the 95th minute, cut inside Konrad Laimer and lashed a fine half-volley past Bachmann.
The Austria goalkeeper did well to keep out Lorenzo Insigne's free-kick soon after, but there was little he could do to deny Pessina in the 105th minute, the Atalanta midfielder powering past him from six yards after skipping past Martin Hinteregger.
Kalajdzic set up a grandstand finish with a clever near-post header from Louis Schaub's corner – ending Italy's run of 1,168 minutes without conceding – yet Mancini’s men held firm to keep their Euro 2020 dreams alive.