Jamie Murray and Bruno Soares saved three match points before beating German Kevin Krawietz and Croatian Nikola Mektic to reach the Australian Open quarter-finals.
After dropping the opening set, Murray and Soares hit back to level the match and looked to be the stronger pair until Brazilian Soares went 0-40 down on his serve at 4-5 in the third set.
But the third seeds won five points in a row to take the game and then broke themselves before Murray served out a 6-7 (3) 6-2 7-5 victory.
It is the fifth time in the last nine grand slams that Murray and Soares have reached the last eight, but they have not gone further since winning their second slam title together at the US Open in 2016.
In the quarter-finals they will face 12th seeds Henri Kontinen and John Peers, Murray’s former partner.