FILE- In this June 14, 2018, file photo gasoline prices are displayed on a pump at Sheetz along the Interstate 85 and 40 corridor near Burlington, N.C

FILE- This June 14, 2018, file photo shows signage and gas prices for regular and diesel at Flying J along Interstate 85 and 40 near Graham, N.C. On T

WASHINGTON (AP) — Consumer prices rose in June from a year earlier at the fastest pace in more than six years, lifted by more expensive gas, car insurance, and higher rent.

The Labor Department said Thursday that the consumer price index ticked up just 0.1 percent in June. But inflation jumped 2.9 percent from a year earlier, the largest annual gain since February 2012. Core prices, which exclude the volatile food and energy categories, rose 0.2 percent in June and 2.3 percent from a year earlier.

Solid economic growth and supply bottlenecks have pushed inflation past the Federal Reserve's 2 percent target, after price gains had languished below that level for six years. That is a key reason that Fed officials expect to raise short-term rates twice more this year.