BUFFALO, Okla. (AP) — Authorities say a 30-year-old man was killed and an Oklahoma sheriff’s deputy was wounded during a Thanksgiving shooting in the northwest of the state.

The Oklahoma State Bureau of Investigation says it’s investigating the shooting in Buffalo between sheriff’s deputies and a man who had attempted to enter a building with a shotgun.

Harper County Sheriff’s deputies were called around 6:30 a.m. Thursday to a residential part of the town of 1,000 people. Investigators say the armed man fled and then shot at the deputies who returned fired and killed him. They say the deputy is hospitalized in stable condition.