NEW YORK -- Investors may already feel a little nostalgic for 2013.

The Standard & Poor's 500 index began the New Year with its worst performance in three weeks as energy and technology companies pulled down the stock market.

Stocks started the year at lofty heights after a combination of rising company earnings and economic stimulus from the Federal Reserve pushed major indexes to record levels in 2013. The S&P 500 surged almost 30 percent, its best year since 1997, and the Dow Jones industrial average climbed 26.5 percent, the most since 1995.

"The market was grossly overbought and needed to pull back," said Peter Cardillo, chief market economist at Rockwell Global Capital. "But fundamentally everything is looking pretty good."

The S&P 500 dropped 16.38 points, or 0.9 percent, to 1,831.98, its worst start to a year since Jan. 2, 2008, when the index slumped 1.4 percent.

The Dow fell 135.31 points, or 0.8 percent, to 16,441.35. The Nasdaq composite slid 33.52 points, or 0.8 percent, to 4,143.07.

Energy stocks fell as the price of oil dropped $2.98, or 3 percent, to $95.44 a barrel. Oil slumped after reports that an end to protests at a major Libyan oil field could return 300,000 barrels of daily production to the global market.

Technology stocks lost ground after analysts published gloomy notes on companies in the sector. Analog Devices lost $1.65, or 3.2 percent, to $49.28 after analysts at Goldman Sachs advised its clients to sell the chipmaker's stock, saying it's overvalued compared to its peers.