Gunman storms police headquarters