Chapter 10

The Ikhshid (935-969 AD)

868–1,250 CE

Read the complete chapter: Breakaway Egypt ↗

The Ikhshid (935-969 AD)

After the Tulunids, the Abbasids governed Egypt for thirty disastrous years. They were understandably in a vengeful and extractionist mood after the Tulunid excursion into independence. But the chaos of Egypt in this Abbasid interlude stems from deeper and wider wounds.

This mausoleum is the only remaining sign of the Ikhshidids. It is tempting to think of this as a sign of cultural impotence, but Fatimid and Mamluk Cairo will overwhelm most signs of earlier capitals.

The Abbasid caliphate was deteriorating fast. A slave revolt, the Zanj rebellion, had destroyed the economy of Iraq. The Abbasids no longer had any control over North Africa, where Shiism was a growing challenge to the religious authority of Baghdad. The Byzantine Empire was putting military pressure on the caliphate from the north for the first time in centuries.

For Egypt, this meant that even if the Abbasids were well intentioned, they were not capable of administering the country successfully. Egypt descended into chaos, just like the rest of the Abbasid Empire. In Upper Egypt Arabs regularly raided farmlands, wrecking the economy. In the north and some parts of the south, Turkic warlords carved out fiefdoms where they imposed their own taxes. South of Egypt, a Christian Nubian kingdom started raiding Egypt regularly. In the west, Shiites were intent on invading the Sunni Abbasid caliphate, and Egypt was on the frontline.

Ikhshidids minted coins in their own names, ignoring the Abbasid Caliph.

In the middle of this chaos, another Turk made another stint at independence for Egypt. In 935 AD, Mohammed Ibn Tughj was appointed Abbasid governor of Egypt. This kicked off the Ikhshidid dynasty, which was de facto independent and ruled for over 30 years under five rulers, four of whom were hereditary. The degree to which the Ikhshidids were symbolically subordinate to the Abbasids is hard to understand, because in some respects, they were more assertive than the Tulunids; but in other ways, they were more ready to compromise.

Mohammed Ibn Tughj was a diplomat with a military background. He used a mix of some carrots and a lot of sticks to develop alliances across the country and drag it out of chaos. He quickly imposed rule of law and restored respect for central authority and private property. Stability set in, and in Egypt stability brings a good economy and good times. The first half of the Ikhshidid dynasty was exactly that: good times.

Ahmed Ibn Tughj used his initial success to do two things. The first was to expand Egypt into Asia, and the second was to acquire independence, dynastic succession, and recognition from the Abbasids. In Asia he faced significant challenges as the Abbasids tried to limit his authority. However, he imposed a solid grip on Palestine. He even extended his control over Hijaz, allowing Egypt to control the incredibly powerful Islamic holy sites.

In Syria he had mixed results. He could sometimes take control of parts of Syria, but would quickly lose it. Eventually, he reached a compromise with the Abbasid caliph. The Ikhshid could take control of Palestine and parts of the central Levant, and the caliph kept northern Syria. This allowed Egypt to have stable borders along the entire eastern front with the Abbasids and left the caliph in Baghdad to handle the boiling border with the Byzantines.

Part of this eastern stability was Ikhshid’s ability to extract recognition from the Abbasids. An ever-spiraling caliphate was ready to give him significant compromises. He accepted nominal vassalage to the caliph and would even pay a small tribute. On the other hand, his rule over Egypt and its acquired territories was now dynastic. He also legitimately acquired the title of Ikhshid. This title was a brilliant compromise. It was a Central Asian royal title, which makes it a potent symbol of independence for a Turk, but completely meaningless for Arabs.

After the death of Mohammed Ibn Tughj, he was succeeded by his son, Abu Al-Qasim Unjur. The Ikhshidid good times did not last, and the rest of the dynasty was a time of continuous downfall. The causes of decline were sometimes internal, but mostly external. Egypt was besieged on all sides. In the south, Nubian Christian kingdoms started attacking Egypt in earnest, occupying and destroying Aswan at one point. In the east, both Syria and Hijaz were threatened by rising local dynasties. But more ominously, the Fatimids in the west were ready to storm Egypt with a religious zeal not seen for centuries.

The fourth and penultimate ruler of the Ikhshidid dynasty is Abu El-Misk Kafur. He is an extremely divisive figure, with a lot of traditional Muslim historians pointing to him as the cause of the downfall of the dynasty. Kafur was not part of the Ikhshidid dynasty. He was a freed Nubian slave of Mohammed Ibn Tughj. Kafur was appointed vizier and caretaker of Egypt during the tenure of the founder of the dynasty. After the death of Ibn Tughj, Kafur took varying degrees of control behind the scenes. But in 946 AD he became de jure ruler.

There was no question of Kafur starting a new dynasty of his own lineage because he was castrated. However, the main controversy is whether he was the cause of the downfall of the dynasty. If you think it is weird that a slave can become ruler, this was very normal in Islamic states. Social mobility was very high, and all the Turkic rulers were also freed slaves. In fact, at some point previous slave status became a requirement for ruling.

Kafur was rejected and viewed with contempt by many of his contemporaries. Some assume his African origins had something to do with this, but this is not true, Kafur was rejected because he was a eunuch. Some also suspect him of selling out Egypt. This is also not true, Kafur made heroic efforts to keep Egypt stable through a vicious famine. He also staged effective defenses in the east and the west. In the south, he pushed back the Nubians with such decisiveness that they would not be a danger for decades.

But he was a eunuch, which meant that his succession was uncertain. When he died, he was succeeded by Abu El-Fawaris El-Ikhshid, who was a grandson of Ahmed Ibn Tughj. He was also a child and did not rule, or rather did not get a chance to rule. Egypt was stormed by the Fatimids, and the Ikhshids were deposed.