The Consumer Price Index climbed 7% over the past 12 months ending in December, the largest increase over a one-year period since 1982, the U.S. Bureau of Labor Statistics reported Wednesday.

Increases in housing and energy costs, along with a sharp rise in the price of used cars and trucks, were large contributors to the overall increase in the inflation index.

The food index increase (+6.3% over 12 months) was also a factor, but the BLS noted that the monthly increase in food prices in December (+.0.5%) was not as sharp as it had been in November (+.07%), October (+0.9%) and September (+0.9%).

Although the price of gasoline fell 0.5% in December, gasoline costs were still up 49.6% over the 12-month period ending in December, the BLS said. The index for natural gas rose 24.1% over those same 12 months, the index for fuel oil rose 41%, and the electricity index rose 6.3%.

Stripping out the more volatile indexes for food and fuel, the CPI increase for all items except food and fuel was 5.5% for the 12-month period ending in December, BLS said.

Used car and truck prices rose 3.5% last month and were 37.3% higher for the 12-month period ending in December. New car prices rose 1% in December and were 11.8% higher for the 12-month period ending in December.

Economists had been hoping that inflation would fade as supply chain problems eased and allowed companies to catch up with consumer demand. However, continued waves of new COVID-19 variants have hit factories and workplaces impacting production and shipping.