Pastor Keith Beck and his family were fast asleep when the sound of glass shattering startled him out of his sleep.

The father grabbed his firearm and investigated the commotion, leading him to find 19-year-old Donavan Simmons allegedly breaking into his home in Cherokee County, Georgia. He reportedly “advised that the suspect was making entry into the basement area of his home” before taking action.

Beck fired at the suspect, hitting him directly in the head.

11Alive/Screngrab

Police found the suspect “lying in the backyard of the residence with a gunshot wound to the head,” according to Cherokee Sheriff’s Office spokeswoman Marianne Kelley.

Beck’s wife and oldest daughter reportedly ran to a neighbor’s home after hearing the gunfire, but his two youngest children never even woke up. It ended up being OK that they slept through the scary ordeal because no one was hurt — except the suspect.

A neighbor immediately came to Beck’s defense, saying he was only doing the right thing in protecting his wife and kids.

Police later announced they would not bring any charges against the pastor in the shooting.

Simmons, however, is facing multiple charges, including “burglary, making terroristic threats and possession of a Schedule IV drug with intent to distribute,” the Atlanta Journal-Constitution reported.