A Buffalo man faces up to four years in prison for breaking into two cars in Allentown last spring.

Gerald Mundell, 25, pleaded guilty Monday to two counts of fourth-degree grand larceny and single counts of fourth-degree criminal mischief and attempted petit larceny,

He was arrested April 17 after witnesses saw him smash the window of a car parked on Tracy Street and enter the vehicle looking for items of value, prosecutors said. The witnesses called police and followed Mundell to a Niagara Street grocery where he allegedly struck several officers as he tried to flee but was caught.

He also was charged with breaking into a car April 13 on Cottage Street and stealing two credit cards, a coat, a purse and other valuables.

Mundell, who has previous convictions for robbery and drug possession, will be sentenced Feb. 11 by State Supreme Court Justice Christopher J. Burns.