INDIANA, Pa. (AP) — A state prison inmate must stand trial on charges that he tried to murder two Pennsylvania state police troopers in a plot to steal their unmarked cruiser and drive back home to Philadelphia.

A judge issued the ruling Tuesday during a hearing for 20-year-old Simere Alford.

Authorities say Alford tried to commandeer a state police car driven by Trooper Jeremy Leasure on June 24 as Leasure and Trooper Allison Goswick neared the entrance to Pine Grove state prison in White Township

They say he grabbed one of the trooper’s guns and fired two shots.

The car soon crashed and both troopers were injured along with Alford. But all have since recovered.

Alford faces numerous counts, including attempted murder of a law enforcement officer and aggravated assault. He has said he wasn’t trying to kill the officers.