LOCKPORT – A Town of Niagara man connected to several burglaries in western Niagara County in the past two years was sentenced to the state’s “shock incarceration” program Thursday by Niagara County Judge Sara Sheldon Farkas.

She denied youthful-offender status for Michael P. McCarthy, 19, of Dean Brown Road. He had pleaded guilty to third-degree burglary last fall in connection with a Jan. 29, 2012, burglary at a home on Mountain View Drive in Lewiston. He had been charged with other break-ins.

“You’re lazy, you’re disrespectful, and you have a feeling of entitlement,” Farkas told McCarthy, who flunked out of a court-supervised drug treatment program after pleading guilty.

Shock incarceration is a six-month program modeling on a military boot camp. If McCarthy fails or is not admitted, he must serve 1-1/3 to four years in a regular cell. After his release, he must repay $7,500.

His attorney, James J. Faso Jr., said McCarthy already has served about a year in the County Jail on the charge.