Islamic custom at the time was that the chief Islamic spiritual leader, the Grand Mufti of Jerusalem, was to be chosen by the temporal ruler, the Ottoman Sultan in Constantinople, from a group of clerics nominated by the indigenous clerics.