Australia have drawn the Czech Republic in the quarter-finals of the Davis Cup.
Should they defeat the Czechs, who have one top-100 player, world No.30 Jiri Lehecka, they will face holders Canada or Finland in the semi-final.
Canada defeated Leyton Hewitt's men in last year's final while outsiders Finland knocked out the United States in this year's group stage.
With their backs against the wall after losing to Britain in group play, Hewitt's charges were facing possible elimination unless they defeated Switzerland 3-0 to secure their spot in the quarter-finals.
Thanasi Kokkinakis, Alex de Minaur and the doubles pairing of Max Purcell and Matt Ebden obliged with scintillating performances to spark a remarkable comeback.
The final eight nations will compete for the 2023 Davis Cup in Malaga from November 21-26. Hosts Spain were knocked out in the group stage.
DAVIS CUP QUARTER-FINAL DRAW
Canada v Finland
Czech Republic v Australia
Italy v Netherlands
Serbia v Great Britain