BOZEMAN, Mont. -

A transient and convicted sex offender who was arrested in Bozeman after removing a GPS has been sentenced to five years with the Department of Corrections.

The Bozeman Daily Chronicle reports ( ) 22-year-old Bojan Joseph Troftgruben was sentenced Monday by District Judge Mike Salvagni.

Troftgruben was on probation for a 2010 conviction of sexual intercourse without consent in Park County when he registered as a transient in Bozeman in March 2012. He was required to check in every 30 days.

Prosecutors say he removed his GPS ankle monitor on March 20. He was arrested on April 7 and later pleaded guilty to failing to register as a sex offender. Salvagni accepted a plea agreement that called for Troftgruben to be sentenced to an inpatient drug treatment.