HUNTSVILLE, Ala. (AP) — An Alabama man has pleaded guilty in the killings of his aunt and her boyfriend.

AL.com reports Jason Loveday made the plea on Friday after making a deal with prosecutors downgrading his two murder charges from capital murder, which is punishable by death. He was sentenced to two concurrent life sentences for the 2016 deaths of his aunt 50-year-old Sharon Morrell and her boyfriend 31-year-old Christopher Ryer.

Loveday's lawyer Patrick Tuten says they appreciate prosecutors understanding the psychological factors involved in the case and considering issues Loveday was having. Tuten didn't elaborate on Loveday's mental state.

Investigator Melissa Webster testified Loveday beat Ryer with a pipe and slit his throat because he was tired of how he treated his aunt. Webster said Loveday decapitated Morrell because she was a witness.