 After the abdication of the last Caliph and his flight from Córdoba, the city was left leaderless.The leading citizens decided to grant power to the most prominent Córdoban sheikh of the Banu Jwahar, Abū 'l Ḥazm Jahwar bin Muḥammad.Abū 'l Ḥazm soon developed a republican system of government in Córdoba with a council of ministers and judiciaries whom he would consult before making every political decision.