Original sentence: During the reign of Harun al-Rashid, several Shia fled to the Dailamites, most of whom remained Zoroastrian or Christian, to escape persecution.The region submitted to the Abbasids in 771, but their control was never very effective
Edited sentence: According to the historian al-Tabari, the Dailamites, along with the Turks, were considered the worst enemies of the Muslims.During the reign of Harun al-Rashid, several Shia fled to the Dailamites, most of whom remained pagan, with a few Zoroastrians and Christians, to escape persecution.The Abbasids penetrated the region and occupied parts of it, but their control was never very effective.The Sassanid general Wahriz, who was sent by Khosrau I in 570 to capture Yemen, was also probably of Dailamite descent, and his troops included Deilamites, who would later play a significant role in the conversion of Yemen to the nascent Islam.Under the Arabs, the old Persian fortress-city of Qazvin continued in its Sassanid-era role as a bulwark against Dailamite raids.Warfare in the region was endemic, with raids and counter-raids by both sides