The Kutama, however, used the opportunity to install their leader, al-Hasan ibn 'Ammar, as prime minister, and to effectively seize control of the central government for themselves. This provoked the reaction of the Turkish faction, led by Manjutakin. With the covert encouragement of al-Hakim's eunuch tutor Barjawan, Manjutakin led his army south towards Egypt, while the Berbers gathered under the command of Sulayman ibn Ja'far ibn Fallah.