Sydney: World number one Rafael Nadal recovered from an upset loss against Belgium's David Goffin to win the deciding doubles match and send Spain into the semifinal of the ATP Cup teams event in Sydney in the early hours of Saturday.
Nadal partnered with Pablo Carreno Busta to win the high stakes decider 6-7(7) 7-5 10-7 against doubles specialists Sander Gille and Joran Vliegen after Spain and Belgium split the singles results earlier in the evening.
Spain will now play host nation Australia in the inaugural event, while Serbia, led by world number two Novak Djokovic, take on Russia.
Nadal said it had been a difficult day playing in humid conditions in Sydney after an onerous tournament schedule meant the Spanish team had played its early matches on the other side of the continent in Perth.
"For me I was suffering a lot physically today," Nadal said shortly after winning the extended tiebreak that is used in place of a deciding third set at doubles matches at the ATP Cup.
"I was sweating a lot and lost my energy."
While mainly known for his singles success, which includes 19 grand slams, Nadal is a capable doubles player, having won the doubles Olympic Games gold at the 2016 Rio de Janeiro event.
He only had minutes to prepare for the decider after losing his singles match against Goffin 6-4 7-6(3).
Goffin's impressive victory was built on the Belgian's attacking baseline game, where he proved to be one of the few players who can stand up to Nadal's heavy spin.
The pair have now played six times and despite trailing Nadal in their head-to-head 4-2, Goffin has won both times they have played on hard courts.
"I have to take the ball early to use the power of Rafa to play fast and make him run a lot," Goffin said after the match, played on the Sydney arena's blue plexicushion hard court.
Nadal appeared distressed during the match, which he later explained was due to a difficult schedule and hot Sydney day where temperatures reached 35 Celsius (95 Fahrenheit).
In the day session, Djokovic battled through a stirring challenge from rising Canadian star Denis Shapovalov to propel Serbia into the semi-finals with a 4-6 6-1 7-6(4) victory.
It was Djokovic's fifth victory over the 20-year-old Canadian in as many clashes but by far the toughest, after Shapovalov controlled significant portions of the match.
The victory was set up earlier by Serbia's Dusan Lajovic's upset win over Canadian teenager Felix Auger-Aliassime 6-4 6-2.
The vocal crowds appear to be playing a pivotal role in the latter stages of the team event, after lifting host nation Australia on Thursday and then Serbia on Friday.
Djokovic said after the match he understood Shapovalov's frustration as the noise level kept threatening to interrupt play.
"They were so loud, they were engaged, sometimes a little bit too much," said Djokovic.
"It was a Davis Cup-like atmosphere," he said, referring to the traditional men's team tennis event to which the ATP Cup is being compared.
The heavy-swinging Canadian looked likely to pull off an upset against the more tentative Djokovic, but Shapovalov's error count climbed too high during the critical third set tiebreak.