During the Middle Ages, the naturalistic approach to understanding mental disorder fell out of favour, and religion dominated all explanations of psychopathology. Mental illness was seen as a punishment for sins committed, or as a form of demonic possession. The church became the main vehicle through which such so-called possessions could be exorcised.