ANSON, Texas (CBSDFW.COM/AP) — An inmate at a West Texas lockup serving 25 years for sexually assaulting a child has been sentenced to death for killing a female corrections officer.

A Jones County jury on Tuesday ordered the death penalty for 24-year-old Dillion Compton. Jurors on Oct. 15 convicted Compton of capital murder in the July 2016 slaying of guard Mari Johnson.

READ MORE: Appeals Court Ruling Keeps Abortion Ban In Place In Texas

Dillion Gage Compton, 21 (photo courtesy: Myspace)

Prosecutors say Compton was found with scratches on his face and his skin underneath Johnson’s fingernails.

Her body was found in a storage room at the Robertson prison unit in Abilene and prosecutors say she suffered blunt force trauma and a crushed throat.

READ MORE: Amtrak Train From Fort Worth Crashes In Oklahoma, Four Hurt

The defense claimed the injuries were sustained when Compton attempted an “aggressive” form of CPR on her. They also claimed Compton and Johnson had a sexual relationship.

Deliberations in the penalty phase began Monday in Anson, 200 miles west of Dallas.

Records show Compton’s prior sentence was for a 2010 Dallas County case in which a girl was raped.

MORE NEWS: Critical Race Theory Law Could Be Behind Latest Southlake Racism Controversy