A “hero” U.S. marshal was shot and killed and another police officer was wounded Thursday morning in Harrisburg, Penn., when gunfire erupted during the service of a warrant.

Another officer was struck by a bullet but not injured.

Christopher D. Hill, 45, an Army veteran who was part of the U.S. Marshals Service for 11 years, was killed after being shot while serving a warrant at the Harrisburg house around 6:10 a.m., the agency said.

An arrest warrant was being served for Shayla Lynette Towles Pierce, who was wanted for allegedly making terroristic threats.

Another man who was in the house — when Pierce was being taken into custody — fired his gun from inside the house, striking Hill and York police officer Kyle Pitts.