The subject of a warrant who shot an officer in Cumberland County, PA, has died after police returned fire on Wednesday.

According to Pennsylvania State Police Trooper Megan Ammerman, an officer was serving a warrant when the subject of the warrant opened fire.

The officer was struck in their ballistic vest and returned fire, killing the suspect, ABC27 reports.

The North Middleton Township police officer was released from the hospital and is recovering from his injuries.