Deinstitutionalization has succeeded in decreasing the overall number of hospital beds, but an unforeseen consequence has been the proportional increase in the number of people with mental illnesses housed in the criminal justice system. Worse, once imprisoned, people with mental illness are shown to have much longer incarcerations than other inmates, primarily because a prison environment and lack of treatment aggravate the very illness that has led to their objectionable or antisocial behavior.