After the Turkish conquest of Cyprus, Lala Mustafa Pasha, the Ottoman commander, ordered a mosque to be built on the site of the former church, based on a popular belief that Umar, second caliph of Islam, was buried at this site in 7th century.