Saffarid dynasty
Sistan became a province of the Umayyad and Abbasid Caliphates. In the 860s, the Saffarid dynasty emerged in Sistan and proceeded to conquer most of the Islamic East, until it was checked by the Samanids in 900. After the Samanids took the province from the Saffarids, it briefly returned to Abbasid control, but in 917 the governor Abu Yazid Khalid made himself independent. He was followed by a series of emirs with brief reigns until 923, when Ahmad ibn Muhammad restored Saffarid rule in Sistan. After his death in 963, Sistan was ruled by his son Khalaf ibn Ahmad until 1002, when Mahmud of Ghazni invaded Sistan, ending the Saffarid dynasty.