Abū'l-Futūh Barjawān al-Ustādh[1][2] (عَبْدُ الْفُتُوحِ بَرْجَوَانِ الْأُسْتَاذِ; died 25/26 March 1000) was a eunuch palace official who became the prime minister (wāsiṭa) and de facto regent of the Shia Fatimid Caliphate in October 997, and held the position until his assassination. Of obscure origin, Barjawan became the tutor of heir-apparent al-Hakim bi-Amr Allah, who became caliph in 996 with the death of al-Aziz Billah. On al-Hakim's coronation, power was seized by the Kutama Berbers, who tried to monopolize government and clashed with their rivals, the Turkic slave-soldiers. Allied with disaffected Berber leaders, Barjawan was able to seize the reins of government for himself in 997. His tenure was marked by a successful balancing act between the Berbers and the Turks, as well as the rise of men of diverse backgrounds, promoted under his patronage. Militarily, Barjawan was successful in restoring order to the Fatimids' restive Levantine and Libyan provinces, and set the stage for an enduring truce with the Byzantine Empire. The concentration of power in his hands and his overbearing attitude alienated al-Hakim, however, who ordered him assassinated and thereafter assumed the governance of the caliphate himself.