Authorities say the man disobeyed commands to drop the knife and was moving toward a trooper.

HARRISBURG, Pa. (AP) — A Pennsylvania state trooper shot and killed a man who refused to drop a knife during a confrontation on Halloween, authorities said.

Troopers had responded to a domestic complaint in West Hanover Township where they said Glenn Custer, 59, of Harrisburg, was acting erratically and was armed with a knife.

READ MORE: Charleroi Mother And Father Now Facing Homicide Charges In Infant's Death

Custer disobeyed commands to drop the knife and was moving toward a trooper and toward the residence where the domestic complaint had been made, authorities said. That’s when another trooper opened fire.

Custer was pronounced dead at the scene.

READ MORE: Pittsburgh Weather: Conditions Point To 2021 Not Being A White Christmas

No one else was injured.

The shooting is under investigation.

No other information was available.

MORE NEWS: Pittsburgh Public Schools Investigating Threats Made Towards Numerous School Campuses

(Copyright 2020 The Associated Press. All rights reserved. This material may not be published, broadcast, rewritten or redistributed.)