LOCKPORT – Jeffrey M. Tretter, 20, of Eddy Drive, North Tonawanda, pleaded guilty Friday in Niagara County Court to fourth-degree criminal possession of a controlled substance. He had about one-quarter ounce of cocaine May 15 as he sat in a car outside an apartment on Pine Street in Lockport, which police were raiding.

County Judge Matthew J. Murphy III assigned Tretter to the judicial diversion program of court-supervised drug treatment. Tretter faces a maximum of 5½ years in prison if he fails at the program, but if he succeeds, he will be placed on probation after his charge is reduced to a misdemeanor.