In 1797, the Edinburgh Royal Magdalene Asylum was founded in the Canongate in Old Town, a popular location for street prostitutes. Some of the women were drawn to the city by industrialisation, some were pregnant and some had been forced into prostitution. Mary Paterson, (also known as Mary Mitchell) was murdered by William Burke shortly after leaving the institution on April 8 1828. The Edinburgh asylum moved to Dalry around 1842. The programme was supported in part by laundry and sewing work done by the residents. In Glasgow, the Magdalene Asylum became the Magdalene Institute and functioned until 1958.