killed fighting alongside his remaining partisans in October/November. With his death, the Hejaz came under Umayyad control, marking the end of the civil war. Soon afterwards, the Najda Kharijites were defeated by Hajjaj. The Azariqa and other Kharijite factions remained active in Iraq until their suppression in 696–699. Aftermath With the victory of Abd al-Malik, Umayyad authority was restored and hereditary rule in the caliphate was solidified. Abd al-Malik and his descendants, in two cases his nephews, ruled for another fifty-eight years, before being overthrown by the Abbasid Revolution in 750. Administrative changes After winning the war, Abd al-Malik enacted significant administrative changes in the caliphate. Mu'awiya had ruled through personal connections with individuals loyal to him and did not rely on his relatives. Although he had developed a highly trained army of Syrians, it was only deployed in raids against the Byzantines. Domestically he relied upon his diplomatic skills to enforce his will. The ashraf, rather than government officials, were the intermediaries between the provincial governors and the public. The military units in the provinces were derived from local tribes whose command also fell to the ashraf. Provinces retained much of the tax revenue and forwarded a small portion to the caliph. The former administrative system of the conquered lands was left intact. Officials who had served under the Sasanian Persians or the Byzantines retained their positions. The native languages of the provinces continued to be used officially, and Byzantine and Sasanian coinage was used in the formerly Byzantine and Sasanian territories. The defection of the ashraf, like Dahhak and Ibn Khazim and various Iraqi nobles, to Ibn al-Zubayr during the civil war convinced Abd al-Malik that Mu'awiya's decentralized system was difficult to maintain. He thus set out to centralize his power. A professional army was developed in Syria and was used to impose government authority in the provinces. Moreover, key government positions were awarded to close relatives of the caliph. Abd al-Malik required the governors to forward the provincial surplus to the capital. In addition, Arabic was made the official language of the bureaucracy and a single Islamic currency replaced Byzantine and Sasanian coinage, giving the Umayyad administration an increasingly Muslim character. He terminated the permanent pensions of the participants in the early conquests and established a fixed salary for active servicemen. Abd al-Malik's model was adopted by many Muslim governments that followed. Tribal rifts It was during