Al-Mawardi said that if the rulers meet their Islamic responsibilities to the public, the people must obey their laws, but if they become either unjust or severely ineffective then the Caliph or ruler must be impeached via the Majlis al-Shura. Al-Juwayni argued that Islam is the goal of the ummah, so any ruler that deviates from this goal must be impeached. Al-Ghazali believed that oppression by a caliph is enough for impeachment. Rather than just relying on impeachment, Ibn Hajar al-Asqalani obliged rebellion upon the people if the caliph began to act with no regard for Islamic law. Ibn Hajar al-Asqalani said that to ignore such a situation is "haraam", and those who cannot revolt inside the caliphate should launch a struggle from outside. Al-Asqalani used two ayahs from the Qur'an to justify this: