Roger Federer completed a Switzerland comeback and in doing so prevented a shock exit to Kazakhstan in the quarter-finals of the Davis Cup.
Federer and Stanislas Wawrinka, who make up two of the world's top four, went into the final day in Geneva 2-1 down to their Asian opponents after a shock doubles defeat on the Saturday which followed a singles defeat for Wawrinka on day one.
Australian Open champion Wawrinka started the revival on Sunday by defeating Kazakhstan's no.1 Mikhail Kukushkin.
Despite losing the opening set, the world no.3 fought back to take a 6-7 6-4 6-4 6-4 win at the Palexpo.
Federer then clinched the decisive rubber against Andrey Golubev - who beat Wawrinka on Friday - with relative ease.
The record Grand Slam winner cruised to a 7-6 6-2 6-3 victory which sealed the Swiss' first semi-final berth since 2003.
The former world no.1 will hope to do better this time than he managed in the last-four tie 11 years ago. Back then he lost a five-setter to Lleyton Hewitt which sent his country packing from the Davis Cup.
Switzerland go head-to-head with Italy for a place in the final. The Italians also came from behind in their match to win 3-2 thanks to wins over Great Britain pair Andy Murray and James Ward in the singles from Fabio Fognini and Andreas Seppi, respectively, earlier today.
In a quarter-final of comebacks, France also came from behind to beat Germany in Nancy.
The Germans didn't have any players in the top 90 of the ATP rankings but they were on the brink of victory by Friday evening after triumphing of the first round of singles.
Julien Benneteau and Michael Llodra began the revival with a doubles victory yesterday before big-name duo Jo-Wilfried Tsonga and Gael Monfils put the French through.
Tsonga beat Tobias Kamke 6-3 6-2 6-4 firstly, Monfils backed that up with a straight sets win of his own; he beat Peter Gojowczyk 6-1 7-6 6-2.
They will face Czech Republic - who are looking for a third consecutive Davis Cup title - in the semis. The Czech's were the only national who progressed through without any trouble as they whitewashed Japan 5-0 in Tokyo.
It was always going to be difficult for the Asians without star performer Kei Nishikori and their team - without any players in the top 100 of the world - were outclassed by their European opponents and reigning champions.
Lukas Rosol and Radek Stepanek, between them, had fired the Czech's into an unassailable 3-0 lead with victories together and alone.
Jiri Vesely was introduced to the final day's play and he carried on the winning tradition in straight sets, 6-4 6-4, to Taro Daniel which followed Rosol's 6-3 3-6 6-4 demolition of Yasutaka Uchiyama.
The semis take place in September.