In the late 19th century the enactment of civil commitment laws resulted in "individuals being committed who were not mentally ill".
Civil Commitment also known as Involuntary commitment refers to a
process in which by law someone who is showing the symptoms of mental disorder
can be orders to be admitted in a hospital etc.