Under Ottoman rule the church was ceded to Defterdar Ahmet Pasha, who converted it into a mosque bearing his name. The bell tower was demolished and replaced by a minaret. In an act of desecration, the conquerors destroyed the frescoes and Christian tombs.