Man sentenced to life in prison after pleading guilty to killing Dallas officer in Home Depot shooting

The man who fatally shot a Dallas Police Department officer at a Home Depot in 2018 was given a life sentence after pleading guilty to the crime.

Dallas County District Attorney John Creuzot said the state offered the plea deal because two independent psychological exams found that Armando Juarez suffers from intellectual disability disorder.

Under those circumstances, the Supreme Court says a person is not eligible for the death penalty.

Creuzot said life in prison without the possibility of parole was the next best option.

At the virtual court hearing Friday afternoon, Juarez pleaded guilty to all five indictments filed against him.

RELATED: 1 Dallas officer dies, gunman in custody after Home Depot shooting

Those charges included aggravated assault of a peace officer with a deadly weapon, attempted capital murder of a peace officer, and capital murder of a peace officer for the shooting death of Dallas PD officer Rogelio Santander.

Santander was shot by Juarez inside a Lake Highlands Home Depot in April 2018, along with his partner, Crystal Almeida, and loss prevention officer Scott Painter.

RELATED: Dallas officer killed in Home Depot shooting; suspect charged with murder

Officer Almeida, who lost her hearing and sight in one eye, gave a victim impact statement following the sentencing.

"You are so lucky you did not get the death penalty. I wish you would. I also wish you were given a punishment in the old days. An eye for an eye, a tooth for a tooth. If I could, for punishment, I want them to take your eye and hearing away like you did me," she said.

Juarez looked down the entire time Almeida spoke to him.

Before the hearing, several Dallas police officers lined up outside the Dallas County courthouse in a show of support for Almeida.

As part of the plea deal, Juarez has waived all right to an appeal.

The loss prevention officer who was shot watched the proceedings online, and Santander’s family did not speak at the hearing.