 At that time it was a large city with forty gates, and it took one whole day to cross the city.It is unclear when the city fell under Timur's rule.Under the Timurids, Sayram was an important border city, a center of trade, and Timur gave rule of the city to his grandson Ulugbek.