A jury has been selected in the trial of two former Albuquerque police officers who are scheduled to stand trial next week in the on-duty shooting death of a homeless man in 2014.

The 12 jurors were agreed upon Tuesday by the special prosecutor in the case and the attorneys representing each of the officers charged. Four alternate jurors also were selected.

Now-retired Detective Keith Sandy and former Officer Dominique Perez are charged with second-degree murder in the death of 38-year-old James Boyd, who was shot following a stand-off with nearly 20 officers. Authorities say he had two knives with him during the stand-off.

The trial for the former officers comes as shootings by police have sparked debate in cities nationwide.

Opening statements in the trial are expected to begin Monday.