Initially, Muslims were divided into two groups, Sunni Muslims and Shia Muslims. After caliph Uthman's death, Ali and Muawiya I were having a war. At this time, the Shurati Muslims emerged, who did not pledge allegiance to Ali or Muawiya I. Rather than allegiance, Shurati Muslims decided to attack Ali and Muawiya I's followers.