WILLIAMSON, N.Y. — New York State Police say four Rochester teenagers who broke into a Wayne County home last week ended up being shot with their own guns after the residents fought back.

According to investigators, the four teenagers went to the home on Pearsall Road in Williamson on March 23 with a shotgun, two handguns and a machete. They say the residents were able to take the guns from the alleged intruders and then returned fire, striking the teens.

"Forced entry through the front door of the residence and then a melee, a scrum, ensued from there," said Capt. Miklos Szoczei of the New York State Police. "And that's when the weapons were taken from the suspects during that altercation."

The four teenagers, three 17-year-olds and one 18-year-old, are facing charges of first-degree burglary, first-degree assault and first-degree criminal use of a firearm, police say. The 18-year-old was arraigned and taken to the Wayne County Jail. One 17-year-old appeared in youth court and is being held in the Wayne County Juvenile Detention Facility. The other two 17-year-olds appeared in youth court virtually from their hospital rooms and were released on pre-trial conditions.

Authorities say the two teenagers who remain in the hospital are recovering. 

The identities of the alleged suspects have not yet been released.

Troopers say they believe the teens and residents of the home knew one another prior to the home invasion.

State police say there could be different charges if a grand jury chooses to indict the suspects.