An off-duty FBI agent was at a bar in Denver on Friday night, and he was tearing up the dance floor with some sweet moves. At one point, he did a backflip.

In the process his gun fell out of his pants. When he went to pick it up, it fired and hit a random guy in the leg. That man was rushed to the hospital and fortunately he's going to be okay.

The cops took the FBI agent to the station for questioning, and the district attorney is reviewing the case to figure out whether to file charges.