COLUMBIA, S.C. (AP) — Authorities said the man who killed a police officer in South Carolina responding to a domestic violence call tracked the officer from upstairs in his home with a rifle before firing the fatal shot.

Cayce Police Chief Chris Cowen said then as other officers tried to drag officer Drew Barr to a patrol car so he could get medical help, the man fired a second shot.

Cowen said 36-year-old Austin Leigh Henderson was calculated and murdered the officer on Saturday.

The chief said Henderson then put his wife and daughter into a closet and held them hostage and police at bay for about seven hours before killing himself with a gunshot to the head.