Spain booked their place in the Davis Cup semi-finals against France after taking an unbeatable 3-1 lead over the United States on Sunday.
David Ferrer sealed the tie for Spain, who were without their top-ranked player Rafa Nadal, when he beat Mardy Fish 7-5, 7-6, 5-7, 7-6 in the first of the two reverse singles rubbers after a titanic struggle that lasted more than four hours.
The dead rubber, scheduled to be played between Andy Roddick and Feliciano Lopez, was then called off with the result of the tie already decided.
"Spain have never beaten USA in this country," Spain's non-playing captain Albert Costa said.
"To win against Roddick, Fish and the Bryans, I think this is a great team. For us it's historic."
Spain had won Friday's two opening singles matches to seize control of the tie but the Americans gave themselves some hope of winning the best-of-five tie when the twins Bob and Mike Bryan won Saturday's doubles.
"I'm very proud of all the guys for all the efforts they put in all the matches. We definitely laid it all out there," US captain Jim Courier said.
Spain, who have won the Davis Cup four times, in 2000, 2004, 2008 and 2009, host France in the semi-finals in September after last year's runners-up beat Germany 4-1.
France beat Spain 5-0 in the quarter-finals last year and Costa said his players were determined to avenge that loss.
Murray breaks down
A tearful Andy Murray recorded his third straight-sets victory in the Davis Cup tie against Luxembourg to send Great Britain into a promotion decider.
Murray defeated the Luxembourg No 1, Gilles Muller, 6-4, 6-3, 6-1 to put the hosts into an unassailable 3-1 lead in Glasgow. When asked how much it meant to win in front of a Scottish crowd, Murray said, "I don't get the chance to come back here very often, so…" He could not finish his sentence and wiped away tears before describing the crowd as 'amazing'.