Edinburgh was a leading European centre of anatomical study in the early 19th century, in a time when the demand for cadavers led to a shortfall in legal supply. Scottish law required that corpses used for medical research should only come from those who had died in prison, suicide victims, or from foundlings and orphans. The shortage of corpses led to an increase in body snatching by what were known as "resurrection men".