Trinidad J. Fernandez, 25, of Cary, (inset) was arrested on felony charges for allegedly striking a woman in the face at the Hickory Grove Highlands Conservation Area in unincorporated Cary Saturday afternoon. | Background Photo: Google Street View; Inset: Provided

A man has been ordered detained pending trial after officers arrested him for allegedly attacking his girlfriend, leaving them both bloodied, in a conservation area near Cary.

Trinidad J. Fernandez, 25, of Cary, was charged with two counts of aggravated battery, two counts of domestic battery and one count of resisting a peace officer.

A criminal complaint filed in McHenry County Circuit Court alleges Fernandez battered a woman around 12 p.m. on Saturday.

The incident happened at Hickory Grove Highlands Conservation Area on Hickory Nut Grove Lane in unincorporated Cary.

The complaint said Fernandez struck the victim in the face, causing injury to her nose and lip.

The McHenry County Conservation District Police Department responded and attempted to arrest Fernandez.

Fernandez tried to pull away several times from the officers, the complaint said.

He became dead weight by lying on the ground while “thrashing and kicking,” the complaint added.

[Suggested Article]  4 suspects evade arrest following road rage incident, shooting, intense police search in Cary

Court documents said the victim and Fernandez are in a dating relationship.

The woman had blood all over her and Fernandez also had blood on him following the attack.

The McHenry County State’s Attorney’s Office filed a petition to detain Fernandez pending trial, calling him a real and present threat to the community.

McHenry County Judge Mary Nader granted the petition during a court hearing Monday.

Nader said that Fernandez is a threat to the community at large and there are no less restrictive measures than jail that would prevent that danger.

The judge also said that Fernandez was not truthful before the court and has an extensive criminal history, including a prior domestic battery involving his brother and an unlawful possession of a weapon case.

A status of preliminary hearing is scheduled for Wednesday.