LOCKPORT – The charge was the same but the sentences differed in two drug cases before Niagara County Judge Sara Sheldon Farkas Friday.

Kevin I. Kelly, 19, of John Street, Lockport, went to state prison for attempted fifth-degree criminal possession of a controlled substance.

Kelly was recommended for “shock incarceration,” a six-month boot camp-style program. If he isn’t admitted or washes out of it, he serves a year in a regular cell.

DeMario D. Crittenden, 33, of 16th Street, Niagara Falls, drew five years’ probation for the same charge.

Both men were found to have cocaine when cars in which they were passengers were stopped by police. Kelly was arrested May 22 on Walnut Street in Lockport; Crittenden was picked up twice in the Falls, on Dec. 3, 2011, and Jan. 2, 2012.