Sunni's believe that he should be elected, whereas Shia believe in divinely ordained infallible twelve Shi'a Imams for leadership after Muhammad. The Ismaili Shia have their own version of the Imamah doctrine.