WATCH: Allegedly Drops On , Accidentally Shoots Friend

An allegedly dropped his at a bar and another patron was in the leg early Saturday. Investigators said it appeared to be an accidental .

Denver police said they were called to a report of a shooting at 2201 Lawrence Street at 12:45 a.m.

A woman who said she witnessed and recorded the shooting with her cell phone said it happened at Mile High Spirits Distillery and Tasting Bar.

In the video, a man can be seen doing a backflip, during which a gun falls out of the back of his waistband. The gun appears to fire when the man picks up the weapon.

“It appears an off-duty Federal Bureau of Investigations (FBI) agent was dancing at a nightclub when his firearm became dislodged from its waistband holster and fell onto the floor. When the agent retrieved his handgun an unintended discharge occurred, another patron was struck by a bullet in the lower leg,” a statement from Denver police said.

Source: WATCH: FBI Agent Busts A Move On The Dance Floor, Accidentally Shoots Friend