successor to Muhammad's political authority, who, according to Sunnis, was ideally elected by the people or their representatives, as was the case for the election of Abu Bakr, Umar ibn Al Khattab, Uthman, and Ali as Caliph. After the Rashidun Caliphs, later Caliphates during the Islamic Golden Age had a much lesser degree of collective participation, but since "no one was superior to anyone else except on the basis of piety and virtue" in Islam, and following the example of Muhammad, later Islamic rulers often held public consultations with the people in their affairs. The legislative power of the Caliph (or later, the Sultan) was always restricted by the scholarly class, the ulama, a group regarded as the guardians of Islamic law. Since the law came from the legal scholars, this prevented the Caliph from dictating legal results. Sharia rulings were established as authoritative based on the ijma (consensus) of legal scholars, who theoretically acted as representatives of the Ummah (Muslim community). After law colleges (madrasas) became widespread beginning with the 11th and 12th century CE, a student often had to obtain an ijaza-t al-tadris wa-l-ifta ("license to teach and issue legal opinions") in order to issue legal rulings. In many ways, classical Islamic law functioned like a constitutional law. Bangladeshi Islamic scholar Khandaker Abdullah Jahangir said in a scolarly interview about Islam and democracy that, Salafi view Salafi scholars opine that democracy is haram in Islam, but they legitimize the opportunity to use democracy to come to power and to vote to establish Islamic rule and encourage voting to choose the better between evils, among these scholars are Shaykh Abd al-Aziz bin Baz, Shaykh Muhammad ibn Uthaymeen, Abdullah al-Ghudayyan, Abdullah Quyud, Abdur Razzaq Afifi, Senior Scholars of Saudi Arabia: Grand Mufti Shaykh Abdul Aziz Ash-Shaikh, Shaykh Abdul Muhsin Al-Abbad, Shaykh Wasiullah Abbas and Saudi Arabia's most senior fatwa panel of scholars, "Permanent Committee for Scholarly Research and Ifta", all echoed similar calls to encourage Muslims to vote. Khandaker Abdullah Jahangir in his book ("Hadiser Namey Jaliyati") (Forgery in the Name of Hadith) says about the interpretation of Hadith of democratic Islamist parties about Islamic politics , Shia Islam According to the Shia understanding, Muhammad named as his successor (as leader, with Muhammad being the final prophet), his son-in-law, and cousin Ali. Therefore, the first three of the four elected "Rightly Guided" Caliphs recognized by Sunnis (Ali being the fourth),