Deleuze, in Coldness and Cruelty:
"The middle ages distinguished with considerable insight betweeen two types of pact with the devil: the first resulted from possession, the second from a pact of alliance. The sadist thinks in terms of institutionalized possession, the masochist in terms of contracted alliance."
hm