FOLSOM (CBS13) — A 29-year-old man was arrested for the attempted murder of a police officer after pulling a gun on Folsom officers Tuesday afternoon.

(credit: Folsom Police Department)

(credit: Folsom Police Department)

READ MORE: Sheriff: Suspect Admits To Pointing Gun At Neighbor During Argument

Officers were called to the 1000 block of Riley Street to help with a shoplifter who was not cooperating with the loss prevention officers. Officials said the suspect Jason Knapp became combative with officers and a physical struggle ensued.

During the struggle, Knapp reportedly pulled a gun on officers, pointed it directly at them and pulled the trigger. Officers said the gun was loaded but during the violent struggle, the gun had jammed and did not fire.

READ MORE: 14-Year-Old Girl Left With Life-Threatening Injuries In Antelope Shooting

Knapp was finally disarmed after fighting with three Folsom officers and a loss prevention employee. He was detained after officers deployed a taser.

Officers and Knapp were treated for minor injuries.

MORE NEWS: Smoking Solution? California Bill Would Eliminate Litter Left Behind By Smokers

Police also said they found a half-pound of cocaine and two additional loaded guns in Knapp’s car. He was booked at the Sacramento County Main jail for attempted murder, possession of a controlled substance, and for being a felon in possession of a firearm.