Frank connely is a convicted sex offender. he is serving an 80 year sentence for sexually assaulting young boys over a five year period. he is one of many inmates who have been recently sentenced to this correctional facility. he will never be free again. however, there are dozens of sex offender inmates at this facility who are eligible for parole or approaching the end of their sentence. brad is an inmate who is eligible for parole next month. joseph is one inmate who is about to complete his sentence. joseph is nearing his release, he served 10 years of a 10 year sentence. the state has filed a petition to have him committed to a mental institution, where he will remain until the mental health professionals at the institution say that he is not longer a threat to the community. what is the process called?