ROSWELL, N.M. — Roswell police have identified the man who was fatally shot by officers after he opened fire while barricaded inside a shed.

Authorities say they were serving a warrant for 46-year-old James Alan Berrones on Tuesday morning in connection with a domestic violence incident that happened hours earlier at his ex-girlfriend’s apartment.

Berrones was accused of arguing with the woman, pointing a handgun at her, wrestling her to the ground and hitting her in the face with the gun. Authorities say he allegedly threated to kill the woman if she called police.

The warrant that police were attempting to serve included charges of aggravated battery and assault against a household member, intimidation of a witness and felon in possession of a firearm.

The shooting is being investigated by multiple agencies.