Joel A. Koskinen, 35, of Barrington Hills, is facing felony charges after allegedly posting videos on YouTube making threats toward the Barrington Hills Police Department. | Left: Screengrab; Right: Provided

A Barrington Hills man who threatened to kill and torture Barrington Hills police officers during a rambling YouTube video has been ordered detained in McHenry County Jail, officials said.

McHenry County State’s Attorney Randi Freese announced Thursday that McHenry County Judge Cynthia Lamb granted a state’s attorney’s office motion to deny pretrial release for Joel A. Koskinen, 35, of Barrington Hills.

Koskinen appeared in First Appearance Court on Thursday afternoon on charges of Threatening a Public Official, a Class 3 felony, and Electronic Harassment, a Class 4 felony.

The criminal complaint filed in McHenry County Circuit Court alleged Koskinen conveyed a threatening YouTube video directly to a specific police officer with the Barrington Hills Police Department.

The video contained a threat to shoot the officer in the head and the threat was “made because of the hostility of the defendant toward” that officer, the complaint said.

[Suggested Article]  Border Patrol agents expand to central Lake County, making arrests in Round Lake area and Wauconda

The complaint said the video also made references to, “I will now kill every cop in Barrington Hills Police.”

“Barrington Hills police, they will be killed immediately. They will never come here again and they will die regardless,” Koskinen said in one of the videos while referencing shooting and torturing the police.

In another video, Koskinen mentioned that a police officer had been at his house but “that cop will be shot in the head.”

“Now he’s going to die for having been here ever before. There will never be a cop in this house again,” Koskinen said in the video. “By the way, they’re going to cut your legs off.”

The Barrington Hills Police Department obtained an arrest warrant for Koskinen on Tuesday. Officers took him into custody Wednesday morning.

He was transported to the McHenry County Jail and made an appearance in First Appearance Court on Thursday afternoon.

[Suggested Article]  Harvard City Council Alderwoman, business owner, remembered as a loving mother, grandmother, pioneer

“We take all threats to human life seriously and are committed to the prosecution of all who engage on this sort of abhorrent behavior,” Freese said in a news release.

Koskinen’s next court appearance is scheduled for July 24.