▁of ▁ha j ib ▁and ▁commander - in - ch ief , ▁but ▁despite ▁their ▁dominant ▁position ▁in ▁Bag hd ad , ▁the ▁lack ▁of ▁financial ▁resources ▁meant ▁that ▁the ▁ha j ib ▁could ▁not ▁comp ete ▁with ▁provincial ▁govern ors ▁who ▁controlled ▁the ▁sources ▁of ▁re venue . ▁Thus ▁in ▁ 9 3 6 ▁it ▁was ▁I bn ▁Ra ' i q ▁who ▁was ▁selected ▁as ▁am ir ▁al - um ara , ▁and ▁became ▁the ▁de ▁fact o ▁r uler ▁of ▁the ▁cal i ph ate . ▁Having ▁lost ▁the ▁struggle ▁for ▁power , ▁the ▁chamber la ins ▁were ▁re comp ensed ▁with ▁an ▁increase ▁in ▁tit el ature : ▁from ▁ 9 4 1 , ▁the ▁head ▁chamber lain ▁was ▁known ▁as ▁ha j ib ▁al - hu j ab ▁(" ch am ber lain ▁of ▁chamber la ins "). ▁ ▁Al - And alus ▁In ▁the ▁Um ay y ad ▁Em ir ate ▁of ▁Cord oba ▁and ▁in ▁the ▁succeed ing ▁C ali ph ate ▁of ▁Cord oba , ▁the ▁ha j ib ▁was ▁from ▁the ▁out set ▁the ▁most ▁senior ▁minister ▁of ▁the ▁state , ▁at ▁the ▁head ▁of ▁his ▁own ▁court ▁( ma j lis ), ▁where ▁he ▁received ▁pet ition ers ▁and ▁mess engers . ▁The ▁ha j ib ▁was ▁the ▁chief ▁a ide ▁of ▁the ▁em ir ▁or ▁cal i ph ▁and ▁the ▁head ▁of ▁the ▁administration , ▁super vis ing ▁the ▁three ▁main ▁branches ▁into ▁which ▁it ▁was ▁divided : ▁the ▁royal ▁household ,