An unidentified 21-year-old burglar is in critical condition at a hospital Bensalem, Penn. after allegedly breaking into a woman's apartment and masturbating on her balcony. He was shot twice while reportedly trying to rob another apartment.

According to police, the bandit climbed onto the balcony of a second-floor apartment Sunday night. "He was touching himself inappropriately on the second-floor balcony when he was confronted by the female," Bensalem Police director of public safety Fred Harran told NBC Philadelphia.

After spotting the woman, police say, the man broke a window, entered the apartment, stole her dog, and fled. He was shot by a resident of another apartment he was attempting to steal from on the building's first floor. Police do not intend to charge the man who fired the gun.

[H/T New York Daily News // Shutterstock]