Andrew E. Alexander, 26, of Glendale Heights.

A former Crystal Lake man accepted a plea deal and was sentenced to probation and 36 days in jail for possessing videos of children being sexually assaulted.

Andrew E. Alexander, 26, of the 1200 block of Fordham Drive in Glendale Heights, was indicted on 20 counts of possession of child pornography.

The Crystal Lake Police Department launched an investigation after receiving information from the Illinois Attorney General’s Internet Crimes Against Children (ICAC) Task Force Unit in 2018.

Crystal Lake police along with the IAC Task Force Unit, Department of Homeland Security Investigations and Glendale Heights Police Department executed a search warrant on Alexander’s Glendale Heights apartment on May 18, 2018.

Police searched the man’s residence, vehicle and examined his electronic devices during the warrant, the Crystal Lake Police Department said at the time.

[Suggested Article]  2 men found dead outside house fire in Highland Park

Investigators recovered at least 20 videos and photos of child pornography in Alexander’s possession, according to a criminal complaint.

He was arrested and released from jail after posting 10% of his $75,000 bond in late May 2018.

Court records show that the McHenry County State’s Attorney’s Office reached a negotiated plea deal with Alexander on Wednesday.

Alexander pleaded guilty to one count of possession of child pornography, a Class 2 felony, and in exchange, prosecutors dismissed all 19 other felony counts against him.

A McHenry County judge sentenced Alexander to 36 days in the McHenry County Jail and two years of probation.

Alexander will be required to register as a sex offender upon his release from jail and pay $4,513 in court fines and fees, court documents show.