GADSDEN, Ala. — A man who was shocked with a stun gun outside an Alabama sheriff’s office has died.

Etowah County Sheriff’s Office spokeswoman Natalie Barton tells a woman told deputies a man was in the office’s parking lot harassing people on Wednesday afternoon. Sheriff Todd Entrekin tells The Gadsden Times the man and several deputies became involved in a physical altercation during which a deputy used the stun gun.

Medics were called to the scene and the man was taken to a hospital, where he was pronounced dead.

Baton says the cause of death is unknown. An autopsy will be performed.

The man’s identity has not been released, but Barton says he was not an inmate or a suspect being booked into the jail.

Oxford police will investigate the case.