WATCH: FBI agent's gun discharges during dance floor backflip

WEB_PHOTO_TEXAS_SHOOTING_FBI_081117

An FBI agent investigates the site of the shooting at the First Baptist Church of Sutherland Springs, Texas, U.S., November 7, 2017.

An FBI agent investigates the site of the shooting at the First Baptist Church of Sutherland Springs, Texas, U.S., November 7, 2017.

LOS ANGELES - Police are investigating an off-duty FBI agent&39;s apparently accidental shooting of a man when the agent did a backflip at a Colorado night club, local media reported on Sunday.

A video obtained by local television stations shows the lanky male agent -- a crowd off to his side -- putting in some energetic dance moves before executing his backflip.

Unfortunately, the move was less of a crowd-pleaser than intended when his gun fell out of his trousers.

The agent couldn&39;t catch it in time before it went off and shot a man in the lower leg.

The shooting victim was recovering in hospital from non-life-threatening injuries, the local ABC television affiliate said.

The agent was taken to police headquarters and then released to an FBI supervisor.