He went from pop and locking — to lockup.

The brainless off-duty FBI agent who accidentally shot a man while doing a backflip on a Colorado dance floor was tossed in jail Tuesday, according to a report.

Chase Bishop, 29, whose gun went flying out of his holster at Mile High Spirits bar in Denver, was charged with second-degree assault, according to The Denver Post.

The disgraced G-man — whose dangerously clumsy move was captured in a viral video — turned himself in after an arrest warrant was issued Tuesday morning, a spokeswoman for the Denver District Attorney’s Office told the paper. He is being held in Downtown Detention Center in Denver.

On June 2, Bishop’s gun discharged and struck fellow reveler Tom Reddington in the leg.

Bishop pounced on the weapon but accidentally squeezed off a single round. He then placed the gun in his waistband and walked off the dance floor with his hands in the air, the video shows.

“We sat down at one of those picnic tables — I heard a loud bang and I thought some idiot set off a firecracker,” Reddington told ABC News later.

“Then I looked down at my leg and see some brown residue… All of a sudden from the knee down it became completely red. Then it clicked that I’ve been shot.”

Reddington is expected to fully recover, his lawyer has said.