▁the ▁ch anc ery , ▁and ▁the ▁financial ▁department . ▁Several ▁of ▁the ▁hold ers ▁of ▁the ▁office ▁also ▁commanded ▁arm ies . ▁Un like ▁the ▁Islam ic ▁East , ▁the ▁title ▁of ▁viz ier ▁was ▁given ▁to ▁lower - ran king ▁coun s ell ors ▁task ed ▁with ▁various ▁matters , ▁and ▁sub ordinate ▁to ▁the ▁ha j ib ; ▁the ▁latter ▁was ▁almost ▁always ▁chosen ▁from ▁the ▁viz iers . ▁A ▁number ▁of ▁ordinary ▁ha j ib s ▁was ▁task ed ▁with ▁the ▁door keep ing ▁duties ▁and ▁direct ing ▁court ▁cer emon ies . ▁ ▁Notable ▁ha j ib s ▁were ▁Abd ▁al - Kar im ▁ibn ▁Abd ▁al - W ah id ▁ibn ▁M ugh ith , ▁who ▁served ▁in ▁the ▁post ▁in ▁the ▁success ive ▁reign s ▁of ▁H ish am ▁I ▁( ), ▁al - H ak am ▁I ▁( ), ▁and ▁Abd ▁al - R ah man ▁II ▁(); ▁the ▁fam ously ▁incor rupt ible ▁Isa ▁ibn ▁Sh uh ay d , ▁who ▁served ▁under ▁Abd ▁al - R ah man ▁II ▁and ▁into ▁the ▁reign ▁of ▁Muhammad ▁I ▁(); ▁and ▁finally ▁Al man zor , ▁who ▁as ▁the ▁ha j ib ▁assumed ▁quasi - reg al ▁authority ▁and ▁was ▁the ▁de ▁fact o ▁r uler ▁of ▁the ▁C ali ph ate ▁of ▁Cord oba ▁ 9 7 8 ▁until ▁hid ▁death ▁in ▁ 1 0 0 2 . ▁ ▁Following ▁the ▁collapse ▁of ▁the ▁cal i ph ate ▁and ▁the ▁political ▁fragment ation ▁of ▁al