NEW YORK (AP) Stocks ended lower Wednesday for the second day straight, dragged down by losses in technology companies and banks.
Energy companies also fell Wednesday as the price of crude oil continued to decline.
Investors shifted money into safer holdings after more than a week of aggressive buying.
Consumer staples and utilities were among the biggest gainers.
Johnson & Johnson led health care stocks higher.
Benchmark U.S. crude sank 4 percent to just over $52 a barrel.
It was trading at $59 a barrel in late May.
The S&P 500 index fell 5 points, or 0.2 percent, to 2,879.
The Dow Jones Industrial Average fell 43 points, or 0.2 percent, to 26,004.
The Nasdaq fell 29 points, or 0.4 percent, to 7,792.
Bond prices rose.
The yield on the 10-year Treasury note fell to 2.12 percent.