Ahmad succeeded to the throne after Kafur's death in April 968, but the situation in Egypt was critical: the vizierJa'far ibn al-Furat tried to control the government, but lacked a power-base outside the bureaucracy; Fatimid agents stirred up trouble among the Bedouin; the army was divided into mutually antagonistic factions (the Ikhshidiyya, recruited by Muhammad al-Ikhshid, the Kafuriyya, recruited by Kafur, and the Saqaliba or Rum, European/Byzantine slave-soldiers); and the treasury was empty due to a series of low Nile floods that had caused famine.[4][5][6] In the end, Ibn al-Furat was overthrown by Ahmad's uncle, al-Hasan ibn Ubayd Allah ibn Tughj, governor of Palestine. Hasan seized control of Fustat in autumn 968, and installed himself as regent. On the coinage minted during this period, Hasan's name even preceded that of Ahmad, the nominal ruler. However, after only three months, Al-Hasan replaced Ibn al-Furat with his private secretary, al-Hasan ibn Jabir al-Rayahi, entrusted him with the governance of Egypt, and returned to Palestine.[7][8]
Fatimid invasion and Deposed
Soon after, the Fatimids, taking advantage of the turmoil in the Ikhshidid regime, launched an invasion under Jawhar al-Siqilli. By June 969, the Fatimid army stood before Fustat. After the Ikhshidid troops failed in a last-ditch effort to stop the Fatimids, the city, and Egypt with it, surrendered.[9][10][11] Ahmad was taken prisoner, thus ending the Ikhshidid dynasty, although the last Ikhshidid loyalists under his uncle remained in control of the southern part of Syria until in turn defeated by the Fatimids in spring 970.[12] According to the historian al-Farghani, relayed by Ibn Khallikan, Ahmad died on 13 July 987.[1][13]