After Mohammed died a person was appointed to be his successor as head of the Moslem church.