The Historical Journey of Hagia Sophia: From Church to Mosque and Museum
The Historical Journey of Hagia Sophia: From Church to Mosque and Museum

By: Maia Az Zahra

Standing majestically in the heart of Istanbul, Türkiye, Hagia Sophia, known in Turkish as Ayasofya—meaning “Holy Wisdom”—is one of the world's most iconic historical monuments. For more than fifteen centuries, this building has served not only as a masterpiece of architecture and engineering but also as a witness to historical developments, shifts in political power, religious dynamics, and encounters between Eastern and Western civilizations.

The long history of Hagia Sophia illustrates how a building can undergo changes in function and identity over time. It began as a church during the Byzantine Empire, became a mosque under the Ottoman Empire, was later converted into a museum during the Turkish Republic, and returned to its function as a mosque in 2020. Each period has left its own historical traces, making Hagia Sophia a cultural heritage site of great significance to the world.

1. The Byzantine Era: An Imperial Cathedral (537–1453)

The Hagia Sophia building that stands today is the third church constructed on the same site in Constantinople, the capital of the Byzantine Empire. Its two predecessors were destroyed by riots and fires. One of the events that led to their destruction was the Nika Riots in 532 CE.

In the same year, Eastern Roman Emperor Justinian I ordered the reconstruction of Hagia Sophia on a much grander scale. The project involved two prominent architects, Anthemius of Tralles and Isidore of Miletus. Completed in 537 CE, Hagia Sophia became one of the largest and most influential religious buildings in the history of Christianity for nearly a millennium.

Its architectural distinction lies in its enormous dome, supported by pendentives—architectural elements that allow a circular dome to rest above a square central space. A series of windows at the base of the dome allows natural light to enter, creating the impression that the dome is suspended above the main interior space.

During the Byzantine period, Hagia Sophia served as a center for religious activities, imperial ceremonies, and the coronation of emperors. However, its history was not without significant changes. In 1204, when Constantinople was captured by the Crusaders during the Fourth Crusade, Hagia Sophia was converted into a Roman Catholic cathedral. Following the end of the Latin Empire in 1261, the building returned to the Eastern Orthodox Church.

2. The Ottoman Era: Transformation into an Imperial Mosque (1453–1934)

A major turning point in Hagia Sophia's history occurred when Constantinople fell to the Ottoman Empire under the leadership of Sultan Mehmed II on May 29, 1453. Following the conquest, Hagia Sophia was converted into an imperial mosque. The first Friday prayer inside the building was held on June 1, 1453.

This change in function was accompanied by several architectural and interior modifications, while the building's original Byzantine structure was largely preserved. Some of the major changes included:

  • The addition of religious features: A mihrab indicating the direction of the qibla, a minbar for the preacher, and a mahfil, or a designated space for the sultan, were added.

  • The construction of minarets and the establishment of waqf administration: Minarets were gradually built around the structure. In addition, a waqf system was established to support the mosque's maintenance and operations.

  • The addition of Islamic calligraphy and the preservation of mosaics: Large circular Islamic calligraphic medallions were installed inside the building. Meanwhile, a number of Christian figurative mosaics were covered with plaster or lime, allowing some of them to remain protected.

During the centuries in which it served as a mosque, Hagia Sophia was not merely a place of worship but also exerted a significant influence on the development of Islamic architecture, particularly within the Ottoman Empire. Its central dome and centralized spatial arrangement became an important source of inspiration for the construction of later grand mosques, including the Süleymaniye Mosque and the Blue Mosque in Istanbul.

3. The Turkish Republic Era: Conversion into a Museum (1935–2020)

Following the collapse of the Ottoman Empire and the establishment of the Republic of Türkiye under Mustafa Kemal Atatürk, the government began implementing policies of secularization in state affairs. In this context, Hagia Sophia was officially converted into a museum in 1935.

This transformation positioned Hagia Sophia as a space for preserving historical and cultural heritage that represents the legacy of various civilizations. Its museum status also provided the international public with an opportunity to explore more closely the layers of Byzantine and Ottoman history preserved within the building.

During its time as a museum, various conservation and restoration projects were carried out. Several previously concealed Byzantine mosaics were uncovered, allowing visitors to see Christian artistic heritage alongside architectural and artistic elements from the Islamic Ottoman period.

International recognition of its historical and cultural significance was further strengthened when Hagia Sophia was included in the UNESCO World Heritage List in 1985 as part of the Historic Areas of Istanbul.

4. The Modern Era: Its Return to Mosque Status (2020–Present)

Hagia Sophia's historical journey entered a new chapter in July 2020. Through a court ruling and a government decree in Türkiye, its museum status was revoked, and the building was once again designated as a mosque. Following this change, Hagia Sophia resumed hosting congregational prayers while continuing to welcome tourists from various countries.

The decision sparked debate at both national and international levels. The discussion extended beyond its change in religious status to include cultural heritage preservation, visitor access, and the responsibility to protect the historical value of a building that holds significance for diverse communities and civilizations.

In its management, arrangements have been implemented to accommodate both religious activities and tourist visits. Several regulations have also been introduced to preserve the sanctity of the prayer space and protect the building's historical features, including arrangements concerning figurative mosaics at certain times. Ongoing conservation efforts remain an essential part of safeguarding Hagia Sophia as a world heritage site.

Hagia Sophia: A Witness to the Journey of Civilizations

More than just a historical building, Hagia Sophia stands as a witness to the long journey of human civilization. Its transformation from a church to a mosque, then a museum, and finally back into a mosque reflects historical dynamics involving religion, politics, culture, and social identity.

What makes Hagia Sophia unique is its ability to preserve traces of different historical periods within a single architectural space. Its magnificent dome, Byzantine mosaics, Islamic calligraphy, and Ottoman architectural elements demonstrate the encounter of traditions and cultures that have shaped the building's identity.

Therefore, understanding the history of Hagia Sophia involves more than studying the changing functions of a building; it also means exploring the long history of interactions between cultures and civilizations. Preserving Hagia Sophia is essential to ensuring that this historical heritage can continue to be studied, appreciated, and passed down to future generations.

References: