The district court having jurisdiction may, in lieu of the sentence otherwise provided by law, commit a sex offender to the custody of the department for an indeterminate sentence having a minimum sentence of one day and a maximum of his or her natural life. According to Colorado law, the majority of persons who commit sex offenses, if incarcerated without treatment, will continue to present a danger to the public when released. However, “some sex offenders respond well to treatment and can function as safe, responsible, and contributing members of society, so long as they receive treatment and supervision.” Civil commitment in Colorado allows a person to remain in state custody after their prison sentence is finished if they are considered a sexually dangerous person. Offenders are committed to a secure mental health facility for sex offender treatment until they are considered safe to be released. However, this indeterminate sentencing allows sex offenders to end up spending the rest of their life in prison. Civil commitment laws have been ruled constitutional by the Supreme Court.