EDGEWATER, Fla. -

Edgewater police will not be allowed to wear key rings on their uniform after an AR-15 patrol rifle accidentally discharged on Tuesday.

Police said an internal investigation found the officer was carrying the rifle while investigating a possible hostage situation on Kumquat Drive when it got caught on a key ring attached to the officer's duty belt and discharged.

The patrol rifle was pointed toward the ground when a round fired and didn't cause any injuries.

Police said officers will no longer be permitted to wear key rings on the exterior of their uniform to prevent another accidental shooting.

The hostage situation was determined to be a hoax, police said.