An Arizona inmate who pleaded guilty to raping a prison teacher is set for a sentencing hearing where he could receive a life term.

Jacob Harvey is due in Pinal County Superior Court on Monday afternoon. The 21-year-old pleaded guilty to rape, assault and kidnapping charges last month for attacking the teacher in a classroom at the Eyman state prison in Florence in January 2014.

The rape charge alone carries a possible life sentence.

The woman is suing the state over an attack she says left her traumatized.

Arizona prison officials are appealing a $14,000 fine state workplace safety regulators levied for not protecting the teacher.

Harvey was in the first year of a 30-year sentence for raping a suburban Phoenix woman when he assaulted the teacher.