NAPLES (CBSMiami/AP) — An accidental shooting landed a Florida law enforcement officer in the hospital.

A Florida deputy is recovering after he was accidentally shot in the foot when a gun fell to the ground and discharged.

READ MORE: Demolition Begins Monday On Remains Of FIU Pedestrian Bridge That Killed 6 In Collapse

The Naples Daily News reports that Collier County deputies were responded to a disturbance at a house when the homeowner asked that they take an old .22-caliber rifle out of the residence.

Investigators say one deputy leaned the weapon against a patrol car, but it fell over and fired a bullet into his foot.

READ MORE: Miami Police Chief Art Acevedo Calls Out Commissioners In Scathing Memo Ahead Of No Confidence Vote

The sheriff’s office reports that the deputy is in good condition. His name was not immediately released.

No one else was injured.

Investigators will determine if proper procedures were followed.

MORE NEWS: Blue Alert Issued Out Of North Florida County For Patrick McDowell, Accused Of Murdering Deputy During Traffic Stop

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