After the death of the Islamic prophet Muhammad in 632, a group of Muslims, who would come to be known as the Sunnis, believed that Muhammad's successor should be Abu Bakr whereas a second group of Muslims, who would come to be known as the Shia, believed that his successor should have been Ali.
After the death of the Islamic prophet Muhammad in 632, a group of Muslims, who would come to be known as the Sunnis, believed that Muhammad's successor should be Abu Bakr whereas a second group of Muslims, who would come to be known as the Shia, believed that his successor should have been Ali.
Not necessarily their land is not occupied right now but they still terrorize people. But it could have influenced the creation of such groups due to a foreign people with different beliefs and tradition came into their lands.