NEW YORK (AP) -- A slide in technology companies dragged the stock market lower, erasing an early gain.
Facebook slumped 7 percent after announcing a $2 billion acquisition of virtual reality company Oculus, its second big purchase in two months.
The initial public offering of the company behind the hit game "Candy Crush Saga" flopped. King Digital Entertainment dropped 16 percent on its first day of trading.
The Standard & Poor's 500 index fell 13 points, or 0.7 percent, to close at 1,852 Wednesday. It had been up 10 points earlier.
The Dow Jones industrial average fell 98 points, or 0.6 percent, to 16,268. The technology-heavy Nasdaq composite fell 60 points, or 1.4 percent, to close at 4,173.
Bond prices rose. The yield on the 10-year Treasury note fell to 2.70 percent.
Copyright 2014 The Associated Press. All rights reserved. This material may not be published, broadcast, rewritten or redistributed.