Brandon L. Motter, 28, of McHenry.

Deputies arrested a suspect, which a judge has since released, after a man was stabbed in the head and face at a residence near McHenry Thursday evening.

Brandon L. Motter, 28, of McHenry, was charged with two counts of aggravated battery causing great bodily harm, aggravated battery with a deadly weapon and domestic battery.

The McHenry Township Fire Protection District and McHenry County Sheriff’s Office responded around 8:55 p.m. Thursday to the 5200 block of Woodrow Avenue in unincorporated McHenry.

A criminal complaint filed in McHenry County Circuit Court alleges Motter stabbed a family member at a residence.

Motter used a knife to stab another man, who is at least 60 years old, two times, according to the complaint.

The victim suffered a wound to the left cheek and a wound to the top of the head, the complaint said.

The male victim was transported to a local hospital where he received numerous stitches to close the wounds.

[Suggested Article]  Family seeks help after driver hits, seriously injures dog with vehicle before fleeing scene near Marengo

Deputies arrested Motter and transported him to the McHenry County Jail on Friday.

The McHenry County State’s Attorney’s Office filed a petition to detain Motter in jail pending trial.

Prosecutors said he poses a real and present threat to the safety of others.

McHenry County Judge Michael Chmiel denied the petition and released Motter from custody.

The judge ordered Motter to not possess any firearms, have no contact with the victim and be placed on electronic monitoring.

Motter was also ordered to undergo a mental health evaluation and not consume alcohol or illegal drugs.

A status of preliminary hearing is scheduled for January 25.