Matthew Ebden and Jordan Thompson booked Australia's place in the Davis Cup semi-finals after the pair clinched their deciding match against the United States to win 2-1.
The pair, who won gold at the Paris Olympics, beat Tommy Paul and Ben Shelton 6-4 6-4 to put Lleyton Hewitt's side into their third successive semi-final at the men's team event.
Australia, who have won the tournament 28 times, largely had Thanasi Kokkinakis to thank after his remarkable triumph over Shelton in the first match of the day.
Kokkinakis saved four match points and let slip six of his own before eventually prevailing 6-1 4-6 7-6 (16-14) in an engrossing encounter that lasted two hours and 14 minutes.
However, in the rematch of a recent ATP Finals group-stage match, Taylor Fritz emerged victorious over Alex De Minaur as he did in Turin a week ago.
Despite De Minaur going 2-0 up in the second set, Fritz roared back to earn a 6-3 6-4 victory to send the tie the distance in Malaga.
But Australia held their nerve, and will discover their opponents later on Thursday when reigning champions Italy take on Argentina.
Ebden and Thompson’s win came after United States’ captain Bob Bryan opted for a late change, with Paul and Shelton replacing Austin Krajicek and Rajeev Ram.
“We were expecting the other pair, but we knew they’ve got incredible players who can play doubles,” said Ebden.
“We were ready. A slight adjustment obviously. More huge serving singles players than the doubles craft, maybe, but it was just as big a challenge as any.
"Out here, finals live match, just to play with Jordan here was real fun. Following what Kokk did, unfortunately Alex went down, but what a day. So fun, so happy.”
See you in the semi-finals @TennisAustralia
— Davis Cup (@DavisCup) November 21, 2024
Matthew Ebden and Jordan Thompson defeat the USA doubles pair in straight sets 6-4 6-4 #DavisCup pic.twitter.com/RYwL5Hl1UQ
Data Debrief: Australia ready to right Davis Cup wrongs
Australia have failed to win the Davis Cup since 2003, but they will be confident of halting that streak this time around.
If they take the trophy, they will have reason to thank Kokkinakis, whose tie-break win against Shelton was the longest an Australian player had featured in at the tournament, surpassing Pat Rafter's win over David Rikl in the 1997 quarter-finals of the competition (15-13).
Ebden and Thompson also shone when it mattered most, serving four aces compared to Paul and Shelton's two, while also winning 92% of their first-serve points.