Ryan N. Niesen, 22, of Crystal Lake.

A Crystal Lake man has been arrested and charged after investigators found he distributed child pornography on a messaging app, court documents show.

Ryan N. Niesen, 22, of the 4300 block of Fox Creek Drive in Crystal Lake, was charged with two counts of reproducing child pornography, a Class X felony.

A criminal complaint filed in McHenry County Circuit Court alleges Niesen knowingly disseminated two images in November 2021.

The images showed a child, who was under the age of 13, engaged in an act of sexual conduct, the complaint said.

The images were uploaded and disseminated on the messaging application Discord, the complaint showed.

It was not known how investigators were first alerted to the crime.

The case was investigated by detectives with the McHenry County Sheriff’s Office.

Charges were filed against Niesen on Tuesday and he was later taken into custody.

[Suggested Article]  Charged McHenry County sheriff’s detective accused of arranging drug and prostitution deals

His bond was set at $60,000 and he was released from the McHenry County Jail after posting $6,000 cash.

A status of preliminary hearing is scheduled for Thursday.