A suspected burglar barely escaped with his life after allegedly trying to force his away into a Tennessee man’s apartment. As he attempted to break in through a window, the unidentified resident shot the suspect right in the groin, police say.

Police in Dyer County, Tenn., charged 30-year-old David R. Miles Jr. with aggravated burglary after they found him at the apartment complex with one gunshot wound to the groin. He is also facing other pending charges, WBBJ-TV reports.

WJJB-TV

WJJB-TV

After consulting with the District Attorney’s Office, police determined no charges will be brought against the victim.

There certainly wasn’t any sympathy for Miles among neighbors either, even though he was described as a “nice, quiet” guy who is known around the neighborhood.

“He was nice, quiet, didn’t bother nobody. I was surprised when I heard that. But if you’re breaking a window, that’s what you get,” neighbor Robert Holloway told the news station.

Sheldon Moore, another neighbor, offered some advice: “Don’t break into houses, you could get shot like that.”

A motive for the robbery is still unclear. Police revealed that Miles has a pending domestic assault charge on his record and had a previous relationship with one of the residents in the apartment complex.