He was the most powerful religious figure in a country which contains the two holiest sites of Islam, Mecca and Medina