Jesus Cortez, 32, of Woodstock.

The McHenry County Human Trafficking Task Force arrested a Woodstock man who allegedly tried soliciting a child online for sex acts during a sting operation, prosecutors said.

Woodstock Police Department Chief John Lieb and McHenry County State’s Attorney Patrick Kenneally said Wednesday that Jesus Cortez, 32, of Woodstock, was arrested during a human trafficking sting.

The operation was planned, coordinated and executed on Thursday in the 1900 block of Sheila Street in Woodstock.

Cortez was charged with indecent solicitation of a minor, a Class 4 felony, and grooming, a Class 4 felony.

“This investigation is the culmination of weeks of work by law enforcement, which included numerous covert conversations and undercover operations,” the state’s attorney’s office said.

A criminal complaint filed in McHenry County Circuit Court alleges Cortez solicited who he thought to be a child to perform a sex act.

Cortez groomed the child using an online service to communicate from November 2 through December 28, the complaint said.

[Suggested Article]  McHenry County's first co-op grocery store to open in Woodstock in May

The McHenry County’s Human Trafficking Task Force led the investigation.

The task force is made up of the Algonquin Police Department, Cary Police Department, Crystal Lake Police Department, Huntley Police Department, Lake in the Hills Police Department, Johnsburg Police Department, McHenry Police Department, McHenry County State’s Attorney’s Office, Spring Grove Police Department and Woodstock Police Department.

“Thank you to the police departments and federal agencies that participated in the Taskforce as we continue to confront the urgent problem of human trafficking in all its forms throughout the County,” Kenneally said.

Cortez was ordered held on a $50,000 bond. He was released from the McHenry County Jail after posting $5,000 cash, court records show.

He appeared in court on Tuesday. His next scheduled court date was not immediately available.