NEW ORLEANS — The man charged in the 2015 slaying of a New Orleans police officer has been ruled competent to stand trial.

State Judge Karen Herman made the decision after a competency hearing Thursday for 35-year-old Travis Boys. She set an Oct. 23 trial for Boys, who is charged with first-degree murder in the death of Officer Daryle Holloway.

Holloway was shot while transporting Boys to jail in June 2015. Police said Boys somehow found or smuggled a gun into Holloway’s vehicle.

Boys had been arrested for allegedly shooting at his wife hours earlier.