In recent decades, the social and legal perception of people with mental disorders who commit crimes has changed. Initially, people with mental disorders were considered dangerous.