NEW YORK (CNNMoney.com) -- Consumer prices rose in 2009 as gasoline prices were more than 50% higher from 2008's depressed levels, the government said Friday.
The Consumer Price Index, the government's key inflation reading, rose 2.7% during the past 12 months. That compares with a 0.1% rise for 2008.
The increase was due to higher gas prices, which rose 53.5% over the last year after declining 43.1% in 2008.
Food prices fell 0.5% last year after climbing 5.9% in 2008. It was the first December-to-December decline since 1961.
The so-called core CPI, which is more closely watched by economists because it excludes volatile food and energy prices, was up 1.8% over the past year, the same increase as in 2008.
December numbers. Overall prices rose 0.1% last month, driven by a sharp rise in prices for used cars and trucks. But the gain was smaller than the 0.2% rise Economists surveyed by Briefing.com had forecast.
The core CPI also increased 0.1% in the month, which matched economists' expectations. Core prices were held in check as housing costs, which make up 40% of the index, were unchanged from November.
"Core inflation was held down by housing prices," said Mark Vitner, an economists at Wells Fargo Securities. "That's likely to continue because housing is in over supply."
However, prices outside of housing, energy and food are now going up at the fastest rate since 1982, according to Vitner.
Gas prices were up 0.2% last month after increasing 6.4% in November. Food prices also rose 0.2% in December after rising 0.1% in each of the previous two months.
"The overall and core CPI were both well behaved in December," Vitner said. But despite the modest monthly increases, there are some "trouble spots beneath the surface," he warned.
Walmart capitalizes on the "'insane' popularity of Patti LaBelle sweet potato pie with five new desserts. More
On Friday Janet Yellen reiterated again that the government has to spend more during crises. Both Hillary Clinton and Donald Trump want to boost spending. More
In 1998, Ntsiki Biyela won a scholarship to study wine making. Now she's about to launch her own brand. More
Tesla started building its massive Gigafactory in June 2014. Since then, home prices in the nearby market have risen faster than the national average. More