A northwest suburban man has been charged with fatally shooting his 31-year-old wife and a 15-year-old girl inside their Crystal Lake home Thursday night.

Ryan C. Yarber, 31, faces four counts of first-degree murder, according to Crystal Lake police.

About 8 p.m., officers were called to a home in the 100 block of Marian Parkway for a report of a female armed with a knife, according to police. Before they got there, police got another call saying a gunman was in the house.

When they arrived, the officers found the girl and woman with gunshot wounds inside the home. Both were pronounced dead at the scene, police and the McHenry County coroner’s office said. Two young boys were in the house at the time, but were not injured.

The woman was identified by the McHenry County coroner’s office as 31-year-old Allania S. Yarber. The coroner’s office did not release the girl’s name, citing her age and privacy requests  by the family.

The coroner’s office said both victims died of multiple gunshot wounds.

Yarber was arrested soon after the shooting, and a gun was recovered at the home, according to police, who have not specified Yarber’s relationship to the teen.

Police called the shooting isolated and said there was no threat to public safety, but said the investigation was “ongoing.”

Yarber is being held without bond at the McHenry County Jail, according to McHenry County sheriff’s office records. He is scheduled to appear in court at 8 a.m. Saturday in Woodstock.