werl was a member of the hanseatic league in the middle ages, and has contained a statue of the virgin mary since 1661. today this relic is located in the wallfahrtsbasilika, and the franciscan religious order takes care of it. due to the marien pilgrimage, werl is the third largest prisons in north rhine-westphalia, the werl prison, is located here.