 Simultaneously, religious houses were established with the purpose of providing asylum and encouraging the reformation of prostitution.Magdalene Homes were particularly popular and peaked in the early 14th century.Over the course of the Middle Ages, popes and religious communities made various attempts to remove prostitution or reform prostitutes with varying success.