The Hagia Sophia (Greek: Ἁγία Σοφία; Holy Wisdom) in Thessaloniki, Greece, is one of the oldest churches in that city still standing today.
As far back as the 3rd century, there was a church in the location of the current Hagia Sophia. In the 8th century, the present structure was erected, based on the Hagia Sophia in Constantinople (present-day Istanbul, Turkey). In 1205, when the Fourth Crusade captured the city, the Hagia Sophia was converted into the cathedral of Thessaloniki, which it remained after the city was returned to the Byzantine Empire in 1246. After the capture of Thessaloniki by the Ottoman Sultan Murad II on 29 March 1430, the church was converted into a mosque.
Its ground plan is that of a domed Greek cross basilica. Together with the Gül and the Kalenderhane Mosques in Istanbul and the destroyed Church of the Dormition in Nicaea, it represents one of the main architectural examples of this type, typical of the Byzantine middle period.
In the Iconoclastic era the apse of the church was embellished with plain gold mosaics with only one great cross, similarly to the Hagia Irene in Constantinople and the Church of the Dormition in Nicaea. The cross was substituted with the image of the Theotokos in 787-797 after the victory of the Iconodules. The mosaic in the dome now represents the Ascension of Jesus Christ with the inscription from Acts 1:11 "Ye men of Galilee, why stand ye gazing up into heaven?". The dome is ringed by the figures of all Twelve Apostles, the Virgin Mary and two angels.
Much of the interior decoration was plastered over after the Great Thessaloniki Fire of 1917, and the dome was restored in 1980.
Hagia Sophia is part of the site Palaeochristian and Byzantine Monuments of Thessaloniki on the list of World Heritage Sites by UNESCO
Link to source of text in Wiki