The origin and name of Hagia Sophia form the foundation of its millennia-long legendary identity. Officially known as the Hagia Sophia Grand Mosque, the structure derives its name from "Aya," meaning holy, and "Sophia," the Greek word for wisdom. Referring to Jesus Christ as the Holy or Divine Wisdom in Christian theology, the name symbolizes the central and sacred role the building held as the patriarchal cathedral of the Eastern Roman Empire.
The first church on the site was initiated by Roman Emperor Constantine the Great and inaugurated in 360 during the reign of Constantius II as the "Great Church." This timber-roofed basilica was largely destroyed by fires during riots that followed the exile of Patriarch John Chrysostom. Subsequently, a Second Hagia Sophia ordered by Emperor Theodosius II and built by the architect Rufinos was inaugurated in 415, only to be reduced to ashes during the devastating Nika Riots in 532. Because the current structure is the third church erected on the same spot, it is historically known as the "Third Hagia Sophia."
The construction of the Third Hagia Sophia was ordered by Byzantine Emperor Justinian I immediately after the Nika Riots, taking place between 532 and 537. The physicist Isidore of Miletus and the mathematician Anthemius of Tralles were appointed as the architects. According to a popular legend whispered through generations, Emperor Justinian was unsatisfied with all the proposed designs until the architect Isidore fell asleep one night and saw the flawless plan of Hagia Sophia in a dream, waking up to draw the blueprint accordingly.
To accelerate construction and enhance its grandeur, prefabricated materials from numerous ancient pagan temples across the empire were brought to the site. Through a legendary logistical effort, columns, marbles, and stones were transported from the Temple of Artemis in Ephesus, the Temple of the Sun in Egypt, and the Baalbek Temple in Lebanon. With approximately 10,000 workers laboring on the colossal project using red and green porphyry alongside white marble from Marmara Island, Emperor Justinian reportedly exclaimed upon completion, "Solomon, I have surpassed thee," declaring it superior to the Biblical Temple of Solomon.
The architecture of Hagia Sophia is a revolutionary masterpiece, combining a traditional basilica plan with a centralized domed structure. Its massive central dome, resting on just four piers and appearing as though suspended from the heavens when viewed from the interior floor, marked a turning point in architectural history. The interior surfaces are clad in multicolored marbles, porphyry slabs, and gold-tesselated mosaics. When tectonic shifts caused slight structural misalignments over time, oral tradition gave rise to legends claiming that the Archangel Gabriel physically rotated the building to adjust its orientation.
Earthquakes and fires repeatedly tested the resilience of the monument. When the main dome collapsed following an earthquake in 558, Justinian commissioned Isidore the Younger, who rebuilt the dome using lighter materials and raised its drum. Plundered by the Crusaders during the Latin Occupation and left in a dilapidated state, the church was recovered by the Byzantines in 1261. During the Ottoman era, master architect Mimar Sinan reinforced the structure with external buttresses and retaining walls, securing its survival against future seismic disasters.
Following the conquest of Istanbul in 1453, Sultan Mehmed II converted Hagia Sophia into a mosque, and it gradually evolved into an expansive imperial complex during the Ottoman period. Human-figural mosaics were carefully covered with a thin layer of plaster to preserve them, while minarets, madrasas, the sultan's loge, a mihrab, and a minbar were added. During extensive 19th-century restorations supervised by the Fossati brothers, the building was meticulously renovated, and massive calligraphic roundels by Kazasker Mustafa Izzet Efendi were mounted on the piers. Having served as a museum from 1935 to 2020, it was reinstated as an active mosque.
Visitors exploring Hagia Sophia today encounter remarkable elements such as the monolithic columns salvaged from ancient temples, the colossal Imperial Gate once reserved solely for the emperors, and the marble-inlaid omphalion marking the Byzantine center of the world. Upper gallery visitors can observe the empress's loge, the Deisis mosaic, and a leaning column reminiscent of the Leaning Tower of Pisa. Meanwhile, the "sweating column" in the northern aisle, where visitors touch a damp bronze-lined hole to make wishes, adds a tactile layer to the monument's mystical aura.
Wikimedia research dossier · Last checked: 2026-08-28 09:59:40


