Istanbul · Turkey · Self-guided audio tour

Little Hagia Sophia: Built for Two Saints, Its Poem Names Only One

Find out why a church built for two Roman soldiers praises only one in its carved verse, which pope barely survived here, how a palace eunuch made it a mosque, and how it outlasted earthquakes and its vanished twin.

Stops
7
App languages
30+
Offline
Yes
Updated
November 2026

Stop 1 of 7 · free to read

One Palace, Two Theologies, One Marriage

A court church in a prince's palace, raised by an emperor and an empress who disagreed about God

You are standing on old palace ground. Fifteen hundred years ago, this corner of the city by the Sea of Marmara belonged to the Palace of Hormisdas. It was most likely named after a Persian prince who had fled to Constantine's court. In the 520s it was home to an ambitious nephew called Justinian, who lived here while his uncle, Justin the First, held the throne. In 527 the nephew became emperor himself. Sometime between then and 536, this church went up beside his old house.

So the first thing to know is that this was never a church for ordinary neighbours. It belonged to the court. It stood in a district of palaces, just south of the Hippodrome, inside the private world of an imperial couple.

The second thing is that the couple did not agree about God. The Church had split over a council held at Chalcedon, on a question that sounds abstract and was anything but: did Christ have one nature or two? Justinian backed the council. His wife, Theodora, protected the people who rejected it. And in the early 530s she sheltered their monks right here, in the old palace. One complex, two theologies, one marriage. Dinner must have been interesting.

Keep reading

The third thing is the name. Nobody in Justinian's day called this Little Hagia Sophia. It was the Church of Saints Sergius and Bacchus, two Roman soldiers martyred in Syria early in the fourth century. The nickname came much later, from people comparing it with the giant up the hill. It is affectionate, and a little unfair, because this building has ideas of its own.

And the fourth thing: it never went out of use. Early in the sixteenth century it became a mosque, and it is still a working mosque today. So dress modestly, and tread quietly at prayer times. Earthquakes, a railway line and a coastal highway have all pressed in on it since, and it is still here.

Ahead of us are a vow, a pope, a dome, a poem with a name missing, and a man from the Ottoman palace. We start where Justinian did, with the saints.

One Palace, Two Theologies, One Marriage

The route

7 stops, one story

Find out why a church built for two Roman soldiers praises only one in its carved verse, which pope barely survived here, how a palace eunuch made it a mosque, and how it outlasted earthquakes and its vanished twin.

  1. 1

    One Palace, Two Theologies, One Marriage

    Nobody in Justinian's day called it Little Hagia Sophia. It was dedicated to two Roman soldiers, and it has been a working mosque since the early sixteenth century.

    Read it above ↑
  2. 2

    The vow

    Justinian, Sergius and Bacchus

    Justinian, accused of plotting against the throne, was said to be saved by two martyred saints. His money later reached their shrine at Resafa, renamed Sergiopolis.

  3. 3

    Twin churches by the sea walls

    Procopius, the vanished neighbour, and the pope at the altar

    In August 551, Pope Vigilius seized an altar here to claim sanctuary from the emperor's men. Two very different accounts survive of what happened next.

  4. 4

    Inside the octagon

    a dome that was not a dress rehearsal

    Its plan turns up again in San Vitale in Ravenna and in Rüstem Pasha Mosque. On some capitals, interlocking letters still spell out Justinian and Theodora.

  5. 5

    The frieze

    who is praised, who is missing, and who might have been sheltered

    Written in Homer's metre, the poem praises Theodora's care for the destitute, while dissident monks she protected may have been living just through the wall.

  6. 6

    Hüseyin Ağa

    the palace eunuch who made it a mosque

    Beheaded around 1508, Hüseyin Ağa earned the nickname Kesikbaş. In 2023, more than five centuries later, a court registered his land to sixteen heirs.

  7. 7

    Survival

    earthquakes, the railway and the courtyard of crafts

    During the Balkan Wars, refugees were housed under the dome. A restoration finished in the mid 2000s turned up a crypt and graves beneath the floor.

Hear all 7 stops in the app

The app plays every stop, shows where you are on the map and answers your questions on the way. Free to start your first tour.

Open the route in Google Maps →

Keep exploring

More guides in Istanbul

See all Istanbul audio guides →

FAQ

Questions about this guide

Where does the Little Hagia Sophia: Built for Two Saints, Its Poem Names Only One audio guide start?

At One Palace, Two Theologies, One Marriage, in Istanbul. From there the app takes you from stop to stop with GPS.

How many stops are there?

7 stops: One Palace, Two Theologies, One Marriage, The vow, Twin churches by the sea walls and 4 more. The first one is free to read on this page.

Does it work offline?

Yes. Download the guide and its audio over Wi-Fi, then use it outdoors with GPS without spending mobile data.

Is it free?

The GuideSofia app is free to download, and it's free to start your first tour.

Which language is it in?

This page is in en-US. In the app, the guide is narrated in 30+ languages.

Can I ask the guide questions?

Yes. Open the chat in the app and ask about what you are looking at, local history, food or nearby places.

Take Little Hagia Sophia: Built for Two Saints, Its Poem Names Only One in your pocket

Download GuideSofia, open this guide and start walking. It's free to start your first tour.