SACRAMENTO, Calif. – A California man threatened to shoot a police officer “right now” as the two men desperately grappled for control of a gun during a violent altercation Sunday. As the officer fought for his life it was caught on bodycam, police officials said.

The Sacramento Police Department said in a news release that Artavious Coleman, 33, was arrested after the “violent struggle,” which happened around 2 a.m. Sunday and was captured by a bodycam.

violent altercation

Artavious Coleman, 33, was arrested early Sunday after the violent incident. (Sacramento Police Department)

Officers had originally tried to stop Coleman for driving a vehicle that had an expired registration, but initially the 33-year-old didn’t yield. Yet when he finally pulled over, Coleman exited the car and tried to run, authorities said.

After a foot chase, one officer tackled Coleman, who was “combative, resistive and attempted to run away again,” according to police.

Coleman got to his feet at one point, prompting the officer to warn Coleman he was going to be “tased.”

“At this point, the officer heard a clicking sound and the suspect stated that he was going to ‘shoot’ the officer,” police said.

In the video released by the department, the man identified as Coleman can be heard saying, “I’m about to shoot you’re a**. I’m going to shoot you right now.”

After the officer deployed a conducted energy device, Coleman fell to the ground. As the cop began trying to detain Coleman, he said he felt a gun in his hand, reported FOX 40.

“At that time, the officer realized that the clicking sound he had just heard was the sound of the trigger of a handgun being pulled by the suspect who had also stated that he was going to ‘shoot’ the officer,” police said.

A second, “violent struggle” then ensued as the officer pinned Coleman’s hand and gun to the ground to prevent him from firing the weapon. The officer’s bodycam fell off during the brawl but continued to record.

violent altercation

Lorcin Model L380 .380 caliber handgun. (Sacremento Police Department)

“During the struggle for the gun, the suspect bit the officer on the wrist that was restraining the firearm,” police said. “This violent fight, including the struggle over the suspect’s firearm, lasted for approximately a minute and a half until additional officers arrived.”

Eventually, Coleman was taken into custody. Following his arrest, police discovered a felony arrest warrant from another state for failing to register as a sex offender.

The firearm recovered at the scene was a Lorcin Model L380 .380 caliber pistol, which had multiple rounds in the magazine and none in the chamber, police said.

Coleman was booked on the charges of attempted murder of a peace officer, felony resisting arrest, possession of a firearm by a felon and a convicted person having a concealed firearm.

The officer involved in the fight for his life sustained minor injuries, according to police.