Tahirid dynasty
In 588, a Nestorian bishopric at Pushang is mentioned. In the 650s, the town was captured by the invading Arabs. After the Abbasid Revolution in 750, Pushang was under the governorship by Mus'ab ibn Ruzaiq, an Iranian companion of the Abbasid general Abu Muslim. Mus'ab's grandson Tahir ibn Husayn would later play an important role in the affairs of the Abbasid Caliphate and establish the Tahirid dynasty, which would rule Pushang and the rest of Khorasan until 873, when the Saffarid ruler Ya'qub ibn al-Layth al-Saffar wrested Khorasan from him. During the decline of the Saffarid dynasty in the early 10th-century, the town was captured by the Samanids. According to the 10th-century traveler Ibn Hawqal, the town was half the size of Herat. He also states that the town was well-built, being surrounded by three gates. In 998, the town was captured by the Ghaznavid ruler Mahmud. After the battle of Dandanaqan in 1040, the city was seized by the Seljuq Turks.