After the Crusader conquest of Jerusalem in 1099, a much smaller church was built among the Byzantine-period ruins on the stone dyke separating the two pools, known as the Church of the Paralytic or the Moustier ('the Monastery'). It was followed by a larger new church erected nearby. This larger church, completed in 1138, was built over the site of a grotto which had (from the fifth or sixth century onwards) been traditionally believed to be the birthplace of Mary, mother of Jesus and was named for Mary's mother, Saint Anne. After the conquest of Jerusalem by Saladin in 1187, it was transformed into a Shafi`i fiqh (Islamic law school). Gradually the buildings fell into ruin, becoming a midden (waste dump).