(Reuters) - Top-ranked United States pair Bob and Mike Bryan kept U.S. hopes of upsetting holders Spain alive when they fought off a brave challenge from Marcel Granollers and Marc Lopez to win their Davis Cup semi-final doubles 6-3 3-6 7-5 7-5 on Saturday.

Spain had put themselves within a point of a fourth final in five years when David Ferrer and Nicolas Almagro beat Sam Querrey and John Isner in Friday's singles, but Granollers and Lopez were unable to close out the tie against the experienced twins.

The Spanish pair, no doubles slouches themselves having reached the last four of this month's U.S. Open, were hampered by a calf injury to Granollers that required heavy strapping early in the second set.

Hindered in his movement on the clay in Gijon, he managed to save the Bryans's first match point with a fine drop volley but Lopez double faulted on the next, prompting the trademark chest-bump victory celebration from the U.S. team.

"We stayed the course the whole way, and three hours 40 minutes was maybe one of the longest Davis Cup matches we ever played," Bob Bryan said in an interview with Spanish TV.

"We're happy to get the team to Sunday, and I have all the faith in John and Sam to play some good tennis tomorrow and we'll see what happens," added the 34-year-old, who with his brother is undefeated on clay in Davis Cup doubles.

Spain captain Alex Corretja said Granollers had initially told him he couldn't continue before changing his mind and battling on.

"We knew it was going to be very tough but we didn't expect the injury setback as well," Corretja told Spanish TV.

"The situation we were in was not easy but in the end the Bryan brothers have a lot of experience, and although they were troubled at times they knew how to play to their strengths."

FANS SILENCED

Ferrer can put Spain 3-1 ahead and clinch a place in November's final against Argentina or Czech Republic with a win against Isner in Sunday's opening reverse singles. Almagro is due to play Querrey afterwards.

Granollers and Lopez missed out on a chance to meet the Bryans in the U.S. Open final when Lopez was forced out of their semi against Leander Paes and Radek Stepanek with a calf injury, and the twins went on to win a 12th grand slam doubles title.

Bob Bryan said they had thought that this time it would be Granollers who would have to retire.

"At times we thought he was going to quit but he kept getting the balls and hitting the serves," he said.

Mike added: "We've played over here before and the Spanish fans are great.

"They were pulling for these guys, who are heroes for Spain, but you know we're happy to silence them a little bit."

Spain, favorites to win a fourth title in five years despite the absence of the injured Rafa Nadal, are on a 23-tie unbeaten run at home, a World Group record that dates back to 1999 when they lost 3-2 to Brazil in Lerida.

Their latest semi-final pits the U.S., the most successful Davis Cup nation with 32 titles, against the country that has dominated the competition over the past decade, with four titles since their first one in 2000.

Argentina were level at 1-1 with the Czechs in the other semi in Buenos Aires after Friday's singles.