The emir was head of the state, and governed with his divan or council of ministers. He was assisted by a majlis, an advisory council of wise personalities, ulamas and khalifas representing the provinces and presided over by a qāḍī al-quḍāt or chief justice.[5]