The Fugitive's Vow That Saved the Last Piece of a Vanished Capital

The Fugitive's Vow That Saved the Last Piece of a Vanished Capital

Ahmad ibn Tulun's ninth-century brick mosque outlived his razed capital and was restored by a hiding fugitive.

📍 Cairo, Cairo

ArchitectureHistoryLandmarks

Listen to this story, narrated, in the TourPods app.

Your first 20 stories are free — no credit card required.

Download free

Key facts

  • Ahmad ibn Tulun's father, Tulun, was a Turk taken captive and sent to the Abbasid caliph al-Ma'mun as tribute in 815 or 816; he later commanded the caliph's private guard.
  • Ahmad ibn Tulun received military training in Samarra, then the Abbasid capital.
  • Ahmad ibn Tulun came to Egypt in 868 and served as Abbasid governor of Egypt from 868 to 884, becoming a de facto autonomous ruler.
  • In 870 Ibn Tulun began a new administrative capital, al-Qata'i, northeast of Fustat, conceived as an emulation of and rival to Samarra.
  • The mosque was the congregational mosque and centerpiece of al-Qata'i.
  • According to al-Maqrizi, construction began in 876, and an original inscription dates its completion to 879 (Ramadan 265 AH).
  • The mosque's architecture is closely modeled on that of Samarra.
  • The mosque has brick walls and arches, a wooden roof, and carved stucco decoration of geometric and floral patterns, which also outlines its 128 windows.

Read the story

A fugitive is hiding inside an old brick mosque. A Mamluk sultan, al-Ashraf Khalil, has been murdered, and one of the men behind it, Lajin, has gone to ground among these arches, by Mamluk-era accounts in the ruins of the minaret, for a miserable year. There he makes a promise: if God saves him and makes him sultan, he will restore this mosque.

Why this mosque? It was all that was left of a lost city.

Four centuries earlier, Ahmad ibn Tulun, the son of a Turkish captive sent to the caliph as tribute, trained as a soldier in Samarra, the Abbasid capital. In 868 he came to Egypt as its governor, soon ruling almost as a king. In 870 he began a capital of his own, al-Qata'i, built to rival the Samarra he knew.

At its heart he placed a great congregational mosque. Work began in 876, and an inscription dates its completion to 879. It looked like Samarra: brick walls and arches, carved stucco of geometric and floral patterns framing 128 windows, and a minaret whose staircase spiraled around the outside. Beneath the ceiling ran a wooden frieze of Quranic verse nearly two kilometers long.

Ibn Tulun died in 884. In 905, Abbasid troops retook Egypt, pillaged al-Qata'i, and razed it. They spared one building: the mosque.

Lajin's hiding place was the last surviving piece of a vanished capital. He kept his word. As sultan, in 1296 he restored it, adding a new pulpit, a dome before the prayer niche, and the domed fountain that still anchors the courtyard.

Today the mosque is described as the oldest in Egypt to largely keep its original form. Houses later grew against its outer wall; one became the Gayer-Anderson Museum, and the James Bond film The Spy Who Loved Me reportedly shot scenes here. The city vanished; its mosque endured, first spared by its conquerors, then rescued by a fugitive's vow.

There are more stories where this came from — near you.

TourPods narrates the hidden history, true crime, and local lore of wherever you're standing. Your first 20 stories are free.

Download TourPods free