France will host Switzerland in the Davis Cup final in November after Roger Federer gave the Swiss the winning point against Italy in Geneva on Sunday.
Federer reached the first Davis Cup final of his career with a comfortable 6-2, 6-3, 7-6 (7/4) win over Fabio Fognini in the first of the semi-final's reverse singles.
That made it 3-1 for the Swiss thus ensuring they would contest the final of the annual team event for the first time since 1992, when they lost to the United States.
Andreas Seppi edged Michael Lammer 6-4, 1-6, 6-4 in the remaining dead rubber to make the final score 3-2.
France made sure of playing in the final for the first time since 2010 on Saturday when their doubles team of Richard Gasquet and Jo-Wilfried Tsonga defeated Czechs Tomas Berdych and Radek Stepanek in four sets at Roland Garros.
The final will be played in France from November 21-23, with the northern city of Lille being touted as the likely host.
The last time the two countries met in a Davis Cup tie was in the 2004 quarter-finals when the Swiss won 3-2 at home.
"The most classical match-ups I've had have come against France so I'm happy," said Federer.
"We've had some great ties here in Switzerland so we're very pleased to be in the finals and we'll see how it's going to go.
"It's nice sharing emotions with your fans and your loved ones. You have to fight with what you've got and I'm happy I was able to make a difference."
Seeking a Davis Cup title to go with his all-time record of 17 Grand Slam victories, Federer had given the Swiss the opening point of the tie with a straight-sets win over Simone Bolelli and he started as a strong favourite against top Italian Fognini.
Games went with serve until 3-2 for Federer in the opener when the Swiss star made the breakthrough and went on to take the set 6-2 in just 24 minutes.
The second set also saw Federer edge his way ahead with a break in the eighth game, Fognini furious with himself for netting an attempted smash on break point.
The volatile Italian had his chances in the third set against an increasingly edgy Federer, but squandered three break points in the third game and another break point two games later.
He was made to pay the price in the ensuing tie-break which Federer dominated after conceding the first point on his own serve.
The Swiss star worked out three match points and he converted the first of those as Fognini netted a forehand drive.
France get home final date
Over in Paris, the France v Czech Republic tie ended at Roland Garros in a 4-1 win for the French, Jiri Vesely defeating Julien Benneteau 6-4, 6-3 before Gael Monfils beat Lukas Rosol 5-7, 6-4, 7-5 in the two "dead" rubbers.
France last won the Davis Cup in 2001 when they travelled to Australia and won 3-2.
In the World Group play-offs, where the winners will play in the elite 16-team division in 2015, US Open champion Marin Cilic guided 2005 champions Croatia to a 3-2 win over the Netherlands in Amsterdam.
Cilic defeated Thiemo de Bakker 6-7 (4/7), 6-4, 6-2, 7-5 after Dutch number one Robin Haase had earlier kept Dutch hopes alive by coming back to defeat Mate Delic 3-6, 4-6, 6-4, 6-1, 6-4.
In Perth, Nick Kyrgios and Sam Groth wrapped up a 5-0 clean sweep for Australia in their play-off against Uzbekistan.
Bad weather halted the decisive fifth rubber after Serbia and hosts India were locked 2-2 in Bangalore.
Serbia's Filip Krajinovic was leading Yuki Bhambri 6-3, 4-4 in the second reverse singles when heavy rain forced play to be abandoned until Monday.
Somdev Devvarman earlier rallied past Dusan Lajovic 1-6, 6-4, 4-6, 6-3, 6-2 to level the tie after India had trailed 2-0 after Friday's opening singles.
In Tallinn, David Goffin defeated Sergiy Stakhovsky 6-3, 6-1, 6-2 to give Belgium the winning point against Ukraine.