WOODSTOCK – Two teenagers have been charged with a break-in that resulted in a Crystal Lake woman shooting one of the would-be intruders in the stomach.

Nicholas Porcayo, 18, who police said is homeless, and Brandon Mendez, 19, of Crystal Lake, both have been charged with intimidation, a Class 3 felony, and criminal trespass to a residence, a Class 4 felony, McHenry County Undersheriff Andrew Zinke said.

Both men were in custody Tuesday evening. Mendez was taken to an undisclosed hospital with injuries that were not life-threatening.

Just before 8 a.m. Tuesday, the woman called police to report that two people were attempting to break into her home in 7300 block of Oakwood Lane.

When police arrived on the scene they found two subjects, one with a gunshot wound. Initial reports indicate the woman fired a .25 caliber gun and struck one of the men, Zinke said.

It is unclear how many times the woman fired the weapon.

She had been asleep when a ruckus and people shouting woke her up, Zinke said. Her teenage children had locked two men out of the house, but they kicked the door down. The two men were unarmed.

The woman warned them and asked them to leave, Zinke said. She shot one when they ignored her and kept advancing on her.

“The mother deserves a lot of credit,” Zinke said. “She was dealing with a violent situation. She was protecting her home and her children with the only means she had. She was incredibly brave and likely prevented any of her children from getting hurt.”

There were no other injuries to the woman or her teenage children.

The name of the woman is not being released, and she is not being charged, Zinke said.

Mendez has a pending case in which he has been charged with two counts of criminal damage to property of less than $300, Class A misdemeanors, and mob action, a Class C misdemeanor.

He also is under court supervision for a misdemeanor battery charge, a case in which he also was charged with aggravated battery, a Class 2 felony; resisting or obstructing a police officer resulting in injury, a Class 4 felony; and theft of less than $500, a Class A misdemeanor. Those charges were dismissed.

• Shaw Media reporter Allison Goodrich contributed to this report.