This city was built for the first time perhaps in the
Achaemenid period, The three-storied Citadel Palace is perhaps the only known monumental
Saffarid building extant. It is unusual in its design with a serpentine outer wall of baked brick, non-squared corners, and a location at the eastern edge of the Citadel rather than the center. The Saffarid buildings were reused in the
Ghaznavid and
Ghurid periods and some changes were made in them, including the addition of a bathhouse on the Citadel and an expansive Lower Palace in the enclosure beneath, until they were destroyed by
Genghis Khan's army in 1222. The date of the conquest is confirmed by a set of coin hoards sequestered along the bazaar uncovered by the archaeologists from that date. During the period of
Timur Lang, this area witnessed wars and was destroyed, but the successors of Timur also built or restored some buildings. The remains of this period were very few and mainly included mansion houses and canals built inside the outer defensive walls, which had gone out of use. ==Key buildings and areas of the site==