Muslims believe that Ali was the Prophet Muhammad's rightful successor. This is because he was related by blood to the Prophet and various actions and words throughout the Prophet's life expressed that this was God's will. After Ali's death, Shi'a Muslims were led by twelve imams.