GRAYSON COUNTY, Va. (WFXR) — The Grayson County Sherriff’s Office says it responded to a home invasion in which a man was fatally shot on Tuesday, Dec. 6.

Deputies say it happened around midnight in the 1000 block of Mt. Zion Road in Elk Creek. They say when they arrived they detained the homeowner until the scene was determined safe.

According to a Facebook post from Grayson County’s Sheriff’s Office, deputies discovered the intruder entered the home by breaking a bedroom window. Deputies reported the homeowner went to retrieve his handgun when the intruder grabbed him from behind. They say this led to a struggle, and the homeowner fired two shots.

Deputies say the intruder, 41-year-old Samuel Craig Cheeks, was pronounced dead at the scene. They say his body was transported to the Chief Medical Examiner’s Office to complete an autopsy.

Deputies say the homeowner appeared to have acted within the law.

Grayson County Sheriff’s Office is still investigating the incident.