The southern apse was turned into a mosque in the first half of the 8th century, while the rest of the structure continued to be used as a church. Scholars hold that the church was destroyed during the Persian invasion in 614.