U.S. consumer prices rose at the fastest pace in four months in February as energy prices rebounded. The report came just one day after Federal Reserve indicated heightened concern about inflation.

The U.S. Labor Department’s consumer-price index rose 0.4% last month, four times the rate in January. The core index, which excludes volatile food and energy items, also climbed sharply — by 0.3%, the fastest rate since September.

Over the last 12 months, consumer prices rose 3%, down from a peak year-on-year rate of 3.5% last November. Excluding food and energy, prices were up 2.4%, the fastest rate of growth since August 2002.

Energy prices, which rebounded from a 1.1% slide in January to rise 2%, accounted for “virtually all of the acceleration” in the CPI, the Labor Department said. Gasoline prices in February rose 3.2%, natural-gas prices gained 2.5% and fuel-oil costs increased 2.4%.