The officers were pursuing the offender when he turned towards the officers and fired shots at them, prompting the officers to fire their weapons and hit the gunman, the statement said.