WILLIAMSON COUNTY, Texas (KXAN) — A deadly shooting that happened late Thursday night near Round Rock appears to be a case of self-defense, says a spokesperson with the Williamson County Sheriff’s Office.

A homeowner on Angelico Lane told police that around 10:30 p.m., he was inside the house with his significant other when they found out her ex-boyfriend was in the backyard. The homeowner, armed with a flashlight and pistol, went to the back door when the suspect attempted to force his way into the home. Police say that’s when the armed man fired two shots, hitting the suspect, who later died.

The deceased man’s name has not been released at this time. Authorities say they don’t expect to file any charges at this time and the case is being referred to the district attorney’s office.

KXAN spoke with area neighbors, rattled by the news. “We don’t expect something like this here, right?” Meena Venkat said. “We’ve been thinking it’s the most safest place to live.”

Venkat and her family have lived in Sendero Springs for three years, lured by a solid school system and family-oriented neighborhood. It’s those neighbors she turned to after learning of the nearby shooting on Facebook.

“I saw that there were gunshots on Angelico and that really scared me to death because we live right on Angelico. So we were like oh my God, what’s happening in this neighborhood?”

Several neighbors shared Meena’s shock but slightly comforted when they learned the crime was not random. “It puts a little ease. Even then it’s like, we’ve never heard of anything like this living here,” Venkat said. “It still scares me to hear something like that.”

In Texas, the Castle Doctrine allows people to use deadly force in a situation where they are legally justified to do so. While the president of Texas Law Shield, Kirk Evans, says a person cannot shoot someone who is simply trespassing, “but the second they attempt to either break in or get you out of that house, you’re allowed to use deadly force.”

A person can also shoot someone they if they reasonably believe deadly force is necessary to prevent someone else from trying to kill or seriously injure them, or there is the threat of certain crimes such as sexual assault or aggravated kidnapping. Evans says those standards are based on the eyes of the person pulling the trigger and what they know about the situation. The person defending themselves also has no responsibility to retreat if they have the right to be where they are, under Texas law.