Paris - Rafael Nadal thrashed Alexander Zverev as Spain set up a Davis Cup semi-final against holders France with a dramatic fightback against Germany in Valencia on Sunday.
The world number one's 6-1, 6-4, 6-4 win in Valencia drew the tie level at 2-2, before veteran David Ferrer battled to a marathon 7-6 (7/1), 3-6, 7-6 (7/4), 4-6, 7-5 victory over Philipp Kohlschreiber to finish the job.
Two breaks in each set were enough for Nadal to seal an impressively comfortable victory over world number four Zverev in what was only the 31-year-old's second outing since returning from a hip injury.
Nadal said after the match he is still regaining sharpness.
"The first set was fantastic," Nadal said.
"There were times when I lost a bit of control because the match was tough, I had not competed for a long time and to maintain the level of the first set was complicated for me.
"But in general it was a very important match and I am very happy."
Nadal was forced to retire from his Australian Open quarter-final against Marin Cilic in January but, back on his favoured clay, the 16-time Grand Slam champion showed little sign of rust against Zverev, whom he has now beaten four times out of four.
It was also the 24th consecutive match Nadal has won in the Davis Cup.
He beat Kohlschreiber in straight sets on Friday after Zverev had overcome Ferrer. Germany then took a 2-1 lead when Tim Puetz and Jan-Lennard Struff won the doubles rubber against Feliciano and Marc Lopez.
But Nadal kept up his end of the bargain on Sunday and the 36-year-old Ferrer showed all of his trademark never-say-die qualities to keep Spain's hopes of a sixth Davis Cup title alive.
Kohlschreiber twice fought back from a set down, but former French Open runner-up Ferrer broke in the 11th game of the decider and held his nerve on serve after almost five hours on court.
"It is an unforgettable day, a very special day," Ferrer said. "I do not know how I have done it, I have tried to give it my all, this competition is the best that has happened to me in my life."
Elsewhere, defending champions France booked a home semi-final against Spain as Lucas Pouille claimed a hard-fought win over Fabio Fognini in Genoa to give the visitors a 3-1 victory in the tie.
"I won without playing my best tennis, those are the best types of victories," Pouille said after his first Davis Cup win over a top-20 player.
World No 11 Pouille, who had beaten Andreas Seppi in five sets on Friday, came from behind to see off Fognini 2-6, 6-1, 7-6 (7/3), 6-3 and send Yannick Noah's France into the semis for the third time in four years.
"18 months ago, he was playing for the first time, and now he is our leader on and off the court," captain Noah said of Pouille.
Nicolas Mahut and Pierre-Hugues Herbert had cruised to a straight-sets victory over Fognini and Simone Bolelli in the doubles on Saturday to put France in control, despite Fognini's bad-tempered four-set win against Jeremy Chardy.
Croatia will host the United States in the other semi-final in September, after Cilic thrashed Mikhail Kukushkin 6-1, 6-1, 6-1 in Varazdin.
The world number three had already cruised past Dimitry Popko in straight sets on Friday, and Sunday's win wrapped up a 3-1 last-eight success for the hosts.
"From the beginning till the end I played on a rather high level ... constant pressure, superior, aggressive," former US Open champion Cilic said.
The US were the only team to progress without losing a rubber, after Jack Sock and Ryan Harrison's doubles win over Belgian debutants Sander Gille and Joran Vliegen on Saturday.
Last year's losing finalists Belgium struggled without their top-ranked players David Goffin and Steve Darcis, leaving the Americans with a straight-forward task to reach the semis for the first time since 2012.
Davis Cup quarter-final results:
Italy 1 France 3 - Genoa (clay)
Lucas Pouille (FRA) bt Andreas Seppi (ITA) 6-3, 6-2, 4-6, 3-6, 6-1
Fabio Fognini (ITA) bt Jeremy Chardy (FRA) 6-7 (6/8), 6-2, 6-2, 6-4
Nicolas Mahut/Pierre-Hugues Herbert (FRA) bt Fabio Fognini/Simone Bolelli (ITA) 6-4, 6-3, 6-1
Lucas Pouille (FRA) bt Fabio Fognini (ITA) 2-6, 6-1, 7-6 (7/3), 6-3
Spain 3 Germany 2 - Valencia (clay)
Alexander Zverev (GER) bt David Ferrer (ESP) 6-4, 6-2, 6-2
Rafael Nadal (ESP) bt Philipp Kohlschreiber (GER) 6-2, 6-2, 6-3
Tim Puetz/Jan-Lennard Struff (GER) bt Marc Lopez/Feliciano Lopez (ESP) 6-3, 6-4, 3-6, 6-7 (4/7), 7-5
Rafael Nadal (ESP) bt Alexander Zverev (GER) 6-1, 6-4, 6-4
David Ferrer (ESP) bt Philipp Kohlschreiber (GER) 7-6 (7/1), 3-6, 7-6 (7/4), 6-4, 7-5
Croatia 3 Kazakhstan 1 - Varazdin (clay)
Marin Cilic (CRO) bt Dmitry Popko (KAZ) 6-2, 6-1, 6-2
Mikhail Kukushkin (KAZ) bt Borna Coric (CRO) 3-6, 7-6 (7/5), 6-4, 6-2
Ivan Dodig/Nikola Mektic (CRO) bt Timur Khabibulin/Aleksandr Nedovyesov (KAZ) 6-7 (2), 6-4, 6-4, 6-2
Marin Cilic (CRO) bt Mikhail Kukushkin (KAZ) 6-1, 6-1, 6-1
USA 4 Belgium 0 - Nashville (hard)
John Isner (USA) bt Joris de Loore (BEL) 6-3, 6-7 (4/7), 7-6 (10/8), 6-4
Sam Querrey (USA) bt Ruben Bemelmans (BEL) 6-1, 7-6 (7/5), 7-5
Ryan Harrison/Jack Sock (USA) bt Sander Gille/Joran Vliegen (BEL) 5-7, 7-6 (7/1), 7-6 (7/3), 6-4
Ryan Harrison (USA) bt Ruben Bemelmans (BEL) 6-3, 6-4
Sam Querrey (USA) v Joris de Loore (BEL) - DNP