From their essentially political position, they developed extreme doctrines that set them apart from both mainstream Sunni and Shiʿa Muslims. Tradition traces the origin of the Kharijities to a battle between 'Ali and Mu'awiya at Siffin in 657.