Hajib

Hajib or hadjib (Arabic: الحاجب, romanized: al-ḥājib, [æl ˈħæːdʒib]) was a court official, equivalent to a chamberlain, in the early Muslim world, which evolved to fulfil various functions, often serving as chief ministers or enjoying dictatorial powers.

The post appeared under the Umayyad Caliphate, but gained in influence and prestige in the more settled court of the Abbasids, under whom it ranked as one of the senior offices of the state, alongside the vizier.

The office has its origins in pre-Islamic Arabia, where doorkeeping (ḥijāba, "concealing") was one of the duties of domestic slaves or clients (mawālī, singular mawlā) of an Arab household.

[1] Modern scholars have traditionally regarded the office of hajib in a courtly setting as an innovation of the Umayyad Caliphate (661–750),[2] but in reality it is widely attested in the sources for the pre-Islamic Ghassanid and Lakhmid kings, Muhammad, Sajah, various early Muslim provincial governors and political figures, including all early caliphs and anti-caliphs such as Hasan ibn Ali and Ibn al-Zubayr.

[1] However, in Arabic historiography, their existence is often obscured or euphemistically paraphrased, since the office was ill regarded in early Muslim society, with its strong egalitarian tendencies.

[2] With the introduction of the vizier as the head of government, a kind of separation of powers emerged, where the vizier—usually drawn from the secretarial class—headed the administration, while the hajib controlled courtly affairs.

[2] In the late 9th century, the position of the vizier was strengthened, as the powers of the office became more formalized and he emerged as the head of the civilian administration, underpinned by a highly specialized secretarial class.

[3][4] The hajib was the chief aide of the emir or caliph and the head of the administration, supervising the three main branches into which it was divided: the royal household, the chancery, and the financial department.

[1][3] The Samanid practice was emulated by the successor Ghaznavid dynasty (977–1186) as well, with the hajib-i buzurg as the commander-in-chief in the Sultan's stead, commanding several ordinary hajibs as generals; all of them were distinguished by a black cloak, a specific type of belt, and a two-pointed cap.

[9] Nizam al-Mulk also mentions the existence of a hajib-i dargah, responsible for ceremonies and order at court; it is unclear whether that was a distinct office from that of amir hajib.

[9] The hajibs remained court officials under the Timurids, while under the Safavids the chief chamberlain was known as ishik-aqasi bashi and held the duties of a master of ceremonies analogous to the hajib-i dargah.

[9] Furthermore, the writer Ibn al-Sayrfi mentions the existence of a hajib al-diwan, tasked with preventing unauthorized visitors and preserving state secrets.