Canada beat Russia 6-3 3-6 7-5 (5) in an epic decisive doubles rubber to reach the Davis Cup final in Madrid.
The pair of Vasek Pospisil and Denis Shapovalov beat Karen Khachanov and Andrey Rublev in a tiebreaker as Canada reached the final for the first time.
They will face either Great Britain or Spain on Sunday at 15:00 GMT.
Rublev beat Pospisil 6-4 6-4 in the opening singles rubber to give Russia the lead before Shapovalov levelled with a 6-4 4-6 6-4 win over Khachanov.