CBS Miami:

A police officer mistakenly fired his rifle Wednesday morning while in court in front of the judge.

A Miami-Dade Police Officer, according to police, was demonstrating a scenario to a judge on the 30th floor of the Lawson E. Thomas Court House around 10:30 a.m. Wednesday.

After demonstrating, police say the officer mistakenly fired one shot from his police issued rifle, an AR-15.

The bullet hit the floor and there were no injuries.