A Pennsylvania woman thwarted a home invasion on Sunday by shooting burglary suspects who entered her Philadelphia apartment.

The Philadelphia Police Department says officers responded to a 1:34 a.m. report of a shooting in Germantown on Sunday morning. When authorities arrived, they found the woman standing on Germantown Avenue near one of the suspects, who was injured and lying on the ground.

The woman told police that four unknown men entered her apartment before she opened fire.

"The complainant had arrived to her apartment and found four unknown males inside her apartment without her permission," the Philadelphia Police Department explained in a statement to Fox News Digital.

TWO IN CUSTODY AFTER BALLISTIC VEST-WEARING SUSPECT KILLS 5, INJURES 4 IN PHILADELPHIA MASS SHOOTING

Police cars outside home invasion scene

Police officers responded to a report of a shooting in the Germantown section of Philadelphia. (FOX 29 Philadelphia)

"A confrontation ensued and the complainant shot the offenders, who then fled from that location," police added.

The first suspect was shot in his right leg and right arm. He was identified as 48-year-old Jermaine Parker and treated by medics before being taken to Einstein Medical Center Philadelphia, police said.

PHILADELPHIA VETERAN POLICE OFFICER DIES AFTER BEING FOUND UNRESPONSIVE IN CRUISER

Philadelphia streets near home invasion scene

The woman reported that four unknown men were in her apartment without permission before she shot two of them. (FOX 29 Philadelphia)

Officers soon found the second suspect, Randy Miller, on a different street, according to police. The 45-year-old man was shot in the back and also taken to Einstein Medical Center Philadelphia in critical but stable condition.

Both men were charged with burglary. Philadelphia police noted that the woman's motive was to defend herself while a criminal trespass and burglary were being committed.

CLICK TO GET THE FOX NEWS APP

Shot of apartment window

Two suspects were charged with burglary, according to Philadelphia Police Department. (FOX 29 Philadelphia)

Authorities have not released any additional information about the case or the other two suspects. The Philadelphia Police Department is investigating the incident.