Andres L. Hernandez, 28, of Marengo.

A man has been charged with spitting and kicking officers and threatening to kill one of the officers and his family while being arrested in Marengo.

Andres L. Hernandez, 28, of Marengo, was charged with three counts of aggravated battery of a peace officer, threatening a public official and two counts of resisting a peace officer.

A criminal complaint filed in McHenry County Circuit Court alleges Hernandez battered a Marengo Police Department officer around 10:50 p.m. on July 23.

Hernandez kicked the police sergeant near his right knee, the complaint said.

The complaint said Hernandez spat in an officer’s face while he was under arrest.

Hernandez refused commands to get into the squad car after being arrested and pushed his body up against the door of the police vehicle, the complaint said.

Once inside the squad, he refused to move his legs so officers could close the door, the complaint said.

[Suggested Article]  Series of crashes involving 9 cars causes delays on Route 59 in North Barrington

While in the back of the squad, Hernandez allegedly said, “I am going to kill you when I get out of the squad car,” according to the complaint.

Hernandez also said he was going to track down where the officer lives so he could kill the officer and his family, the complaint said.

McHenry County Judge Michael Coppedge ordered Hernandez held on a $50,000 bond.

Hernandez remains held in the McHenry County Jail and would need to post $5,000 cash in order to be released.

A bond review hearing is scheduled for Tuesday and a preliminary hearing is scheduled for August 18.