A gang member who prosecutors say targeted, ambushed and killed two Palm Springs police officers is scheduled to appear in court.

Arraignment on first-degree murder and many other charges is scheduled Thursday for 26-year-old John Hernandez Felix in Riverside, California.

Prosecutors say an attorney is being assigned to Felix.

The district attorney said Wednesday that Felix was prepared to attack the officers who responded to a 911 call from his family's home on Saturday.

Prosecutors say he wore body armor and used armor-piercing ammunition when he opened fire with an AR-15 rifle on the police who came to the door.

Felix faces special-circumstance allegations that make him eligible for the death penalty, but prosecutors haven't decided whether to seek it.