Felix Auger-Aliassime pulled off a terrific win over Alexander Zverev to carry Canada through to the ATP Cup semi-finals.
After Great Britain beat the United States 2-1 earlier to stake a claim for a last-four spot, Canada’s singles players rose to the challenge to see off Germany.
That meant disappointment for Dan Evans and the British team, with Canada progressing to a clash with Russia as winners of Group C.
Denis Shapovalov got the better of Jan-Lennard Struff in a tight tussle, the world number 14 beating 51st-ranked Struff 7-6 (7-5) 4-6 6-3, giving Auger-Aliassime a swing at Olympic Games and ATP Finals champion Zverev before a possible doubles decider.
The world number 11 duly got the better of third-ranked Zverev by a similar score to the opening singles rubber, winning 75 per cent of first-serve points as he came through 6-4 4-6 6-3 late at night in Sydney.
Great Britain had impressed in edging out the US team, with Dan Evans beating John Isner and then teaming up with Jamie Murray to see off Isner and Taylor Fritz 6-7 (3-7) 7-5 10-8 in a dramatic doubles decider. Fritz beat Cameron Norrie in the second singles rubber.
Daniil Medvedev played a pivotal role as Russia wrapped up a perfect 3-0 match record in Group B, beating Italy 2-1 to nail down their semi-final place.
Defending champions Russia, who also won the Davis Cup last year, were on the back foot early on against Italy after Jannik Sinner beat Roman Safiullin, but US Open champion Medvedev ground out a 6-2 6-7 (5-7) 6-4 win over Matteo Berrettini to take the match – and the battle for top spot in the group – down to a doubles decider.
Medvedev and Safiullin were given a stiff test by their singles foes on the doubles court but had just enough to beat Berrettini and Sinner 7-5 4-6 10-5.