Associated Press

A Bismarck man has pleaded guilty to setting a fire in an apartment in an attempt to return to the State Penitentiary.

Forty-two-year-old Darren Weber was accused of barricading his roommate's bedroom door before starting a fire on Dec. 5.

The roommate wasn't hurt. Weber was charged with endangering by fire or explosion.

The Bismarck Tribune reports he pleaded guilty Tuesday and was sentenced to serve four years in prison. Weber said he pleaded guilty to expedite his return to incarceration and mental health treatment.

Weber's criminal history includes a range of charges, including terrorizing and gross sexual imposition. He's a registered sex offender.