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.

READ MORE: Wong Leads Brewers To 7-3 Win Over The Marlins

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.

READ MORE: Varieties Of Starburst, Skittles & Life Savers Gummies Recalled

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.

MORE NEWS: Rickenbacker Causeway Shut Down After Vehicle Hits & Kills 2 Cyclists

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