NEW YORK (AP) -- Stocks soared in the U.S. and Europe Thursday after the European Central Bank president vowed to "do whatever it takes" to keep the continent's monetary union intact.
The Dow Jones industrial average jumped 211 points, or 1.7 percent, to 12,887 as of 3:20 p.m., following European markets sharply higher. Benchmark stock indexes surged 6 percent in Spain and Italy and 4 percent in France.
The comments from Mario Draghi at an investor conference at the Olympics raised hopes that Europe's central bank might intervene in markets to bring down the cripplingly high borrowing costs for financially strapped European countries like Spain and Italy.
"Whatever it takes"
After insisting for months that it was up to European governments to restore confidence in the currency shared by 17 nations there, Draghi pledged that "The ECB is ready to do whatever it takes to preserve the euro."
A commitment of that sort is a big boost to global markets because "the No. 1 problem in the world now is Europe's finances," said John Fox, director of research at Fenimore Asset Management. "When the head of the ECB comes out and says he's willing to do anything, that's code for ‘We are going to agree to resolve this issue.' "
In other signs that investors were becoming more confident that Europe's financial crisis would not spin out of control, borrowing costs for Spain and Italy fell sharply, the euro surged a penny to $1.23 against the dollar and the yield on the 10-year Treasury note rose to 1.43 percent from 1.40 percent late Wednesday. Investors tend to sell low-risk assets like Treasurys when they're less fearful about global markets and the economy.
"Close to 20 percent of the S&P 500 companies' revenues comes from Europe," said Lawrence Creatura, portfolio manager at Federated Investors. "We're in a global, interconnected economy and Europe's troubles are our own today."
The broader the Standard & Poor's 500 index rose for the first time in five days. It was up 20 points to 1,359 on the European news. The gains in the U.S. stock market were broad. All 10 of the industry groups in the S&P 500 index rose, led by telecommunications companies.
In other trading, and the Nasdaq composite index rose 36 points to 2,890, despite more disappointing news from technology companies including the online game maker Zynga.
Several U.S.companies were also rising sharply after reporting stronger earnings. Sprint Nextel jumped 67 cents, or 20 percent, to $4.04. The country's third-largest wireless carrier was successful in convincing smartphone subscribers to pay up for "unlimited data" service, and its service revenue zoomed higher, beating analysts' estimates.
In Europe, Draghi's comments came after days of uncertainty in Europe and rising concern over Spain's recession and the country's banks, which are reeling following the implosion of a real estate bubble. As borrowing costs for both Spain and Italy rose in the past week, investors feared that both countries might need to be rescued, as Greece, Portugal and Ireland have been. .
Borrowing costs for Spain's government plunged following Draghi's comments as investors anticipated that the European Central Bank might step up its purchases of Spanish government bonds.
The yield on Spain's benchmark 10-year bond dropped almost half a percentage point, an enormous move, to 6.89 percent. That rate surged as high as 7.54 percent this week as investors dumped the country's bonds and lost confidence in Spain's ability to manage its debts.
Technology companies continued to report disappointing earnings following industry leader Apple's rare earnings disappointment earlier this week.
Zynga, which produces popular social network games "CityVille" and "FarmVille" posted poor quarterly results and cut its outlook, prompting a number of analyst downgrades. Its stock fell $1.97, or 39 percent, to $3.10.
The news also dragged down shares of Facebook, which got about 12 percent of its 2011 revenue from Zynga. The poor results may hurt Facebook's second-quarter revenue when it reports its own quarterly results later Thursday. Facebook fell $2.07, or 7 percent, to $27.27.
Among other stocks that were making big moves were:
-- PulteGroup gained $1.77, or 18 percent, to $11.79 after the homebuilder posted a quarterly profit, beating Wall Street's forecasts thanks to higher house prices and sales.
-- United Continental slumped $1.26, 6 percent, $19.15 after the combined airline's second-quarter net income dropped 37 percent as it continued to wrestle with merger-related issues.
-- Whole Foods Market jumped $8.80, or 10 percent, to $93.33 after the natural and organic foods store chain lifted its profit outlook for the year. Its net income jumped 32 percent in the latest quarter as shoppers spent more.