Thomas C. Wilson, 45, of Harvard.

A McHenry County sheriff’s task force executed a search warrant in Harvard and arrested a Harvard man for selling cocaine, prosecutors said.

Thomas C. Wilson, 45, of the 1200 block of 9th Street in Harvard, was charged with one count of possession of 15-100 grams of cocaine with intent to deliver and possession of 15-100 grams of cocaine.

A criminal complaint filed in McHenry County Circuit Court alleges Wilson was found with 15-100 grams of cocaine on Tuesday.

The complaint said Wilson possessed the drug with the intent to deliver.

A motion filed by Assistant State’s Attorney Matthew Brodersen said the McHenry County Sheriff’s Office Narcotics Task Force executed a search warrant at Wilson’s residence.

The search resulted in approximately an ounce of cocaine prepackaged for sale.

Officers also found scales used for weighing. Wilson was interviewed and admitted to selling cocaine, Brodersen said.

[Suggested Article]  'A great day': Blood drive collects over 200 units of blood at annual drive honoring slain McHenry County sheriff's deputy

Officers arrested Wilson and transported him to the McHenry County Jail.

McHenry County Judge Mark Gerhardt set bond at $100,000 during a bond hearing on Wednesday.

The most serious charge against Wilson, possession of 15-100 grams of cocaine with intent to deliver, is a Class X felony and carries six to 30 years in prison if convicted.

Wilson remains held in jail and would need to post $10,000 cash in order to be released.

A hearing on a motion to reduce bond is scheduled for Monday.