He will be sentenced to life in prison without parole for the shooting that left 10 people dead.