(AP) -- Wall Street capped a day of wild swings Friday with a late-afternoon rally that reversed steep early losses and sent the Dow Jones industrial average 330 points higher. Even with the rebound, this was the worst week for the market in about two years.
Stocks struggled to stabilize much of the day as investors sent prices climbing, then slumping in unsteady trading a day after the market entered its first correction in two years.
The up-and-down swings followed a drop of 10 percent from the latest record highs set by major U.S. indexes just two weeks ago. At midday, the market was on pace for its worst weekly decline since October 2008, at the height of the financial crisis.
The Dow briefly sank 500 points in afternoon trading after surging more than 349 points earlier in the day. The blue chip average suffered its second 1,000-point drop in a week on Thursday.
The Standard & Poor's 500 index, the benchmark for many index funds, also wavered between gains and losses.
As of Thursday, some $2.49 trillion in value had vanished from the index since its most recent peak on Jan. 26, according to S&P Dow Jones Indices.
"Equities have traded in a roller coaster fashion all week and today is no exception," said Terry Sandven, chief equity strategist at U.S. Bank Wealth Management. "There's a fair amount of volatility in the market, and our belief is the volatility is leaving investors riddled with stress and uncertainty, which is likely to continue."
The S&P 500 rose 38.55 points, or 1.5 percent, to 2,619.55. The Dow gained 330.44 points, or 1.4 percent, to 24,190.90. The Nasdaq composite added 97.33 points, or 1.4 percent, to 6,874.49.
Technology companies accounted for most of the broad gains, outweighing losses in energy stocks, which slumped as U.S. crude prices declined, sending the price of oil below $60 a barrel for the first time this year.
Bond prices fell. The yield on the 10-year Treasury rose to 2.85 percent from 2.83 percent late Thursday.
Some companies rose after reporting quarterly results and outlooks that beat Wall Street's forecasts. Skechers USA climbed $2.88, or 7.5 percent, to $41.06. Chipmaker Nvidia added $14.56, or 6.7 percent, to $232.08.
Expedia slumped after its latest earnings fell short of analysts' expectations. The travel website's 2018 outlook also disappointed investors. Its shares sank $19.03, or 15.5 percent, to $104.
The turbulence in U.S. stock indexes followed a broad slide in global markets.
In Europe, Germany's DAX fell 1.2 percent, while France's CAC 40 lost 1.4 percent. Britain's FTSE 100 shed 1.1 percent. Asian markets fell more sharply. Tokyo's Nikkei 225 lost 2.3 percent and Hong Kong's Hang Seng gave up 3.1 percent.
U.S. stocks started to tumble last week after the Labor Department said workers' wages grew at a fast rate in January.
Investors worried that rising wages will hurt corporate profits and could signal an increase in inflation that could prompt the Federal Reserve to raise interest rates at a faster pace, putting a brake on the economy.
On Wall Street, many companies that rose the most over the last year have borne the brunt of the selling. Facebook and Boeing have both fallen sharply.
Financial analysts regard corrections as normal events but say the latest unusually abrupt plunge might have been triggered by a combination of events that rattled investors. Those include worries about a potential rise in U.S. inflation or interest rates and budget disputes in Washington.
The market, currently in its second-longest bull run of all time, had not seen a correction for two years, an unusually long time. Many market watchers have been predicting a pullback, saying stock prices have become too expensive relative to company earnings.
What many failed to predict, however, is the S&P 500's blazing slide from a record high on Jan. 26 to a drop of 10 percent on Thursday.
"The S&P 500 hasn't moved into correction mode this quickly, ever," said Lindsey Bell, investment strategist at CFRA Research. It's taken nine days to go from the January 26 peak to where we are today."
American employers are hiring at a healthy pace, with unemployment at a 17-year low of 4.1 percent. The housing industry is solid, and manufacturing is rebounding.
Major economies around the world are growing in tandem for the first time since the Great Recession, and corporate profits are on the rise. That combination usually carries stocks higher. But stock prices have climbed faster than profits in recent years.
Many investors justified that by pointing out that interest rates were low and few alternatives looked like better investments. Fast rising interest rates would make that argument much less persuasive.