Hagia Sophia, originally a Christian basilica, later converted to a mosque. Built in 537 CE, served as church for 916 years and mosque for 500 years.