Kirkham Gastelum, 30, of Mesa, Ariz., is tentatively scheduled to be arraigned Thursday afternoon in Van Nuys Superior Court on two counts each of attempted murder of a peace officer, second-degree robbery and possession of a firearm by a felon and one count of second-degree commercial burglary.

Gastelum and a second man, Tyler Gilson, 23, allegedly robbed a medical marijuana dispensary in the 7300 block of Reseda Boulevard, near Sherman Way, on Monday, according to the District Attorney's Office.

A police helicopter over the scene of the crime located the two a short time later and began chasing them, police said.

Gastelum allegedly got out of the vehicle and opened fire on police before running away at about 5 p.m.

A patrol car was riddled with bullets and one officer suffered injuries from glass that apparently flew into the officer's eye.

Gastelum was arrested less than 2 1/2 hours later.

Prosecutors are asking that his bail be set at $2.4 million.

Gilson allegedly drove away, but was arrested that evening by officers from the Los Angeles Police Department's West Valley Division. He has since been released on bail, but the status of charges against the Peoria, Ariz., man was not immediately available, according to Jane Robison of the District Attorney's Office.