TRENTON, N.J. (CBSNewYork/AP) — Some motorists in New Jersey are hitting the brakes after seeing sharply higher prices at the pumps.

On Friday the cost of a regular gallon of gas in the state was $2, up 10 cents from last week, according to AAA Mid-Atlantic.

But the sharp increase is still much lower than the price of a gallon of regular this time last year, when motorists were paying $3.23.

The national average price was $2.17 on Friday, up 12 cents from last week.

But again, the cost per gallon is still much lower than the national average from a year ago when motorists were paying $3.27 a gallon to fill up.

Analysts said the higher gas prices were spurred by rebounding crude oil prices and refinery maintenance in the Midwest, which results in decreased production.

(TM and © Copyright 2015 CBS Radio Inc. and its relevant subsidiaries. CBS RADIO and EYE Logo TM and Copyright 2015 CBS Broadcasting Inc. Used under license. All Rights Reserved. This material may not be published, broadcast, rewritten, or redistributed. The Associated Press contributed to this report.)