The word "masochism" was invented by Richard von Krafft-Ebing, a German psychiatrist. He named it after Leopold von Sacher-Masoch (1836-1895), a writer whose books and stories often featured men in love with women who treated them cruelly.