A woman alone in her Southern California home heard banging on her doors and windows just after 2 a.m. Monday, a sheriff's official told the Signal.

The woman called 911, Sgt. Tim Vander Leek of the Santa Clarita Valley Sheriff’s Station told the paper — but things were moving fast at the residence in Castaic, which is about 45 minutes northwest of Los Angeles.

“During the call, the lone male outside was trying to kick in her door,” Vander Leek told the Signal. “She alerted the person that she was armed."

Apparently unswayed, the individual "kept trying to force his way into the home," Vander Leek told the paper.

One might say the intruder should have opted for discretion.

After the suspect entered the home through a rear door, there was a brief confrontation — and then the homeowner shot the suspect once in the chest, the Signal said, citing a release from Deputy Lisa Jansen of the Los Angeles County Sheriff’s Department. The homeowner used a handgun to defend herself, the paper added.

The suspect — identified only as a Hispanic male in his 40s — was taken to a hospital where he underwent emergency surgery, the Signal said, adding that he was listed in fair condition at the hospital about eight hours after the incident.

The Santa Clarita Valley Sheriff's Department said the suspect is in custody on a burglary charge.

(H/T: Bearing Arms)