A FBI agent accidentally shot a bar patron in Colorado on Saturday after his gun fell out of his waistband while doing a back flip, and went off when he picked it back up

Denver police said they responded to a shooting at the the Mile High Spirits Distillery and Tasting Bar around 12.45am.

Paramedics were called to the scene and took the man with a gunshot wound to his leg to the hospital.

Video of the incident captured by an eyewitness was later uploaded to the Internet.

The clip shows the FBI agent busting a move at the bar in front of a crowd.

Police said they responded to a shooting incident at around 12.45am at the Mile High Spirits Distillery and Tasting Bar in Denver

Paramedics were called to the scene and escorted the wounded man to the hospital, who sustained a gunshot injury to the leg

Pictured: the Mile High Spirits Distillery and Tasting Bar in Denver

About 10 seconds into film, the agent can be seen doing a backflip during which a gun falls out of the back of his waistband, according Fox affiliate KDVR 13.

As he goes to retrieve the weapon, the gun goes off leaving onlookers shocked and mortified.

'It appears an off-duty... FBI agent was dancing at a night club when his firearm became dislodged from its waistband holster and fell onto the floor,' a statement from Denver police said.

'When the agent retrieved his handgun an unintended discharge occurred, another patron was struck by a bullet in the lower leg,' the statement added.

The FBI agent can then be seen nonchalantly walking off the dance floor, appearing not to be too concerned that his weapon just discharged inside a crowded bar.

The FBI agent can be seen nonchalantly walking away, appearing not to be too concerned that his weapon just discharged inside a crowded bar

The agent was taken to Denver Police Headquarters and released into the custody of a FBI supervisor

The woman who captured the incident on her phone, identified only as Julie, told KDVR that she could hardly believe what she was witnessing.

'Everyone was kind of shocked after it happened because [the agent] kind of put his gun back away and then he walked away,' Julie said.

'No one really knew what was going on... I honestly just wanted to make sure that my friends… [that] I knew where they were,' she added.

The agent was taken to Denver Police Headquarters and released into the custody of a FBI supervisor.

The Denver District Attorney's Office is reviewing the case and will determine if charges will be brought up against the agent.