Modern historians dispute the popular misconception that the chastity belt, a device designed to prevent women from having sexual intercourse, was invented in medieval times. Most existing chastity belts are now thought to be deliberate fakes or anti-masturbatory devices from the nineteenth and early twentieth century. The latter were made due to the widespread belief that masturbation could lead to insanity, which led to a boom in the development of belt-like anti-masturbatory devices for both males and females. These were mostly bought by parents for their teenage children. Contemporarily, chastity belts are used in the BDSM community as part of erotic sexual denial.