Hagia Sophia, an important Byzantine structure in Istanbul and one of the world’s great monuments. It was built as a Christian church in the 6th century ce (532–537) under the direction of the Byzantine emperor Justinian I. In subsequent centuries it became a mosque, a museum, and a mosque again.