Leoncio Renteria-Castilla, 55, of McHenry.

A McHenry man who pleaded guilty to sexually abusing a child was sentenced Wednesday to 180 days in jail and released from custody with credit for time served.

Leoncio Renteria-Castilla, 55, of the 3800 block of Waukegan Road in McHenry, was indicted last July on charges of predatory criminal sexual assault of a child, a Class X felony, and aggravated criminal sexual abuse of a child, a Class 2 felony.

A criminal complaint filed in McHenry County Circuit Court alleged that Renteria-Castilla committed an act of sexual penetration with a child younger than 13 years old in July 2018.

Court documents show that Renteria-Castilla is a relative of the victim.

The incident was investigated by the Crystal Lake Police Department.

Renteria-Castilla entered into a negotiated plea deal with the McHenry County State’s Attorney’s Office this week, court records show.

Renteria-Castilla pleaded guilty to an amended charge of criminal sexual abuse, a Class 4 felony, in exchange for prosecutors dismissing both of his more serious charges, one of which is a Class X felony.

[Suggested Article]  Police drone operators locate endangered 81-year-old man who went missing in Deer Park

McHenry County Judge Michael Coppedge approved the plea deal and on Wednesday sentenced the man to 180 days in the county jail.

Renteria-Castilla was released Wednesday afternoon from the McHenry County Jail because he received credit for time already served awaiting his case.

Renteria-Castilla will also serve two years of felony probation and be required to pay $3,560 in court fines and fees.

Coppedge also certified Renteria-Castilla as a sex offender and ordered him to comply with sex offender registration.

Renteria-Castilla will also be required to undergo a sex offender evaluation and follow recommended treatment, Coppedge said.