When the vizier was not of military origin, he was responsible for hearing the petitions and grievances ("maẓālim") in the vizier's stead, taking up a seat at the Golden Gate, the entrance to the caliphal palace, for the purpose.