In the early Islamic Caliphate, the head of state, the Caliph, had a position based on the notion of a successor to Muhammad's political authority, who, according to Sunnis, were ideally elected by the people or their representatives, as was the case for the election of Abu Bakar, Uthman and Ali as Caliph. After the Rashidun Caliphs, later Caliphates during the Islamic Golden Age had a much lesser degree of democratic 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.