What was the successor to Muhammad for centuries a political as well as a religious figure called?

Islamic regime of government called Caliphate

And called the the Governor Khalifa