A dance-off at a nightclub has gotten an FBI agent in trouble!

An FBI agent who was in a dance-off at a Denver, Colorado area nightclub is in trouble after his gun accidentally discharged while he was dancing!

The agent, who hasn't been identified, did a backflip while dancing when his gun fell out of his pants. When he went to retrieve it, the gun went off and striking another person at the club in the leg.

The man who was shot is in stable condition and police and the FBI are investigating the shooting.

Someone was videoing the dance off and put it on Twitter!

More From The New 96.1 WTSS