Tahirid dynasty
It became an important town in the Khorasan region but subsequently declined in significance until a revival in its fortunes in the 9th century under the Tahirid dynasty, when the glazed ceramics of Nishapur formed an important item of trade to the west. For a time Nishapur rivaled Baghdad or Cairo: Toghrül, the first ruler of the Seljuk dynasty, made Nishapur his residence in 1037 and proclaimed himself sultan there, but it declined thereafter, as Seljuk fortunes were concentrated in the west. In the year 1000 CE, it was among the ten largest cities on earth.