LOCKPORT – David B. Cohen, the brother of Livingston County Judge Dennis S. Cohen, pleaded guilty Wednesday to growing marijuana in a rented house on Tonawanda Creek Road in Pendleton.

David Cohen, 50, moved from the Livingston County Town of Caledonia to Transit Road on the border of the Genesee County towns of Bethany and Pavilion, so he would be eligible to take part in the judicial diversion program of court-supervised drug treatment.

Niagara County Judge Sara Sheldon Farkas warned him that he faces up to 5½ years in state prison if he washes out of his treatment program, to be supervised through City of Batavia Drug Court.

David Cohen pleaded guilty to first-degree criminal possession of marijuana. He was arrested Jan. 13, 2012, in a police raid on the Pendleton property, where officers found an indoor pot-growing operation and 16 pounds of the drug.