A gunman opened fire with a thud, and the dog grabbed him and the police shouted and caught him.