BROOKSVILLE, Fla. — Authorities say a Florida deputy shot himself in the leg during a training exercise.

The Hernando County Sheriff’s Office posted on Facebook that the injury occurred at a gun range Wednesday morning.

The sheriff’s office says the deputy, who wasn’t immediately named, accidentally discharged his weapon while removing it from its holster. The deputy sustained a wound to the leg. No other injuries were reported.

The deputy was taken to a local hospital for treatment and released.

Sheriff’s detectives and internal affairs will conduct independent investigations.

Officials say the wounded deputy has been with the agency for nearly 15 years. He previously served in the US Marines.