UPDATE (10/8): Staples was sentenced Friday to 25 years in prison, court records say.

UPDATE (9/10): Staples on Friday pleaded no contest to assault with a firearm on a peace officer or firefighter, according to court records. Six other charges — including two counts of attempted murder of a public official — were dismissed.

Sentencing is set for Oct. 8.

BAKERSFIELD, Calif. (KGET) (4/9) — A man is accused of trying to shoot a police officer and an arson investigator during a foot chase in East Bakersfield.

The suspect, 36-year-old Curtis Staples, has been booked on two counts of attempted murder of a peace officer. He is still under investigation for his alleged involvement in the arson incidents.

At around 7:20 this morning, an investigator with the Bakersfield City Fire Department was attempting to contact Staples on Monterey Street, near Beale Avenue. Staples allegedly ran immediately, and an assisting BPD officer joined the pursuit, eventually catching Staples.

BPD said the investigator and the officer didn’t know Staples had pointed a loaded revolver at them until after they caught him. Once body camera video was reviewed, they learned Staples had tried to shoot the revolver repeatedly, but it didn’t fire.

BPD is asking anyone with more information to call them at (661) 327-7111.