During the Islamic era, governance and legislation were principally drawn from the Holy Qur-ân and the Sunna, (or Traditions) of the Prophet based on the formula of consultation as one of the fundamental principles of Islamic law.
Throughout the era of the Ayubi state (1171-1250), the Citadel became the headquarters and the center of power.