SELMA, Ala. (AP) - An Alabama man has been convicted in the 2013 shooting death of a man during a robbery.

Dallas County District Attorney Michael Jackson told news outlets that 31-year-old Justin Simpson was convicted Monday night of capital murder and felony murder. The jury deliberated about six hours after the trial that lasted eight days.

Simpson had been charged in the shooting death of 77-year-old Willie Berry of Selma.

Jackson says Simpson and Lester Jones Jr. robbed Berry at his apartment complex. Investigators say Berry shot and killed Jones while trying to defend himself in the attack.

Simpson then shot and killed Berry.

Jackson said Simpson will be sentenced later to life in prison without parole.

Copyright 2019 The Associated Press. All rights reserved. This material may not be published, broadcast, rewritten or redistributed.