One of the true wonders of the world this historic landmark is yet another of the many jewels in the “Turkish crown”. Built by the eastern Roman emperor Justinian as the Christian cathedral of Constantinople for the state church of the Roman Empire between 532 and 537, the church was then the world's largest interior space and among the first to employ a fully pendetive dome.
Ayasofya

It is considered the epitome of Byzantine archhitecture and is said to have "changed the history of architecture".The present Justinianic building was the third church of the same name to occupy the site, as the prior one had been destroyed in the Nika Riots As the episcopal see of the ecumenical patriach of Constantinople, it remained the world's largest cathedral for nearly a thousand years, until Seville Cathedral was completed in 1520. Beginning with subsequent Byzantine architecture, Hagia Sophia became the paradigmatic Orthodox church form, and its architectural style was emulated by Ottoman mosques a thousand years later. It has been described as "holding a unique position in the Christian world" and as an architectural and cultural icon of Byzantine and Eastern Orthodox civilization.
The church was dedicated to the Holy Wisdom, the Logos, the second person of the Trinity. Its patronal feast falls on 25 December (Christmas), the commemoration of the incarnation of the Logos in Christ. Sophia is the Latin transliteration of the Greek word for wisdom, and, although it is sometimes referred to as Sancta Sophia, 'Saint Sophia', it is not related to Sophia the Martyr.
After the Fall of Constantinople to the Ottoman Empire in 1453, it was converted to a mosque by Mehmed the Conqueror. The patriarchate moved to the Church of the Holy Apostles, which became the city's cathedral.
The complex remained a mosque until 1931, when it was closed to the public for four years. It was re-opened in 1935 as a museum under the secular Republic of Turkey. According to data released by the Ministry of Culture and Tourism, Hagia Sophia was Turkey's most visited tourist attraction in 2015 and 2019.