In ancient times, who supposedly inhibited the body and soul of a “crazy” person?

In ancient times, who supposedly inhibited the body and soul of a “crazy” person?

A. God
B. A saint
C. The devil
D. None of these