MIAMI (CBSMiami/AP) -— A Hernando County Sheriff’s Office deputy shot himself in the leg during a training exercise.

Police 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 later 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 U.S. Marines.

(© Copyright 2019 CBS Broadcasting Inc. All Rights Reserved. The Associated Press contributed to this report.)