Shahrisabz ('Green city') is one of ancient cities of Central Asia, age of which is about 2700. In the Middle Ages it was known as Kesh. In 7th-8th centuries the city was one of the main centers of southern Sogd. Kesh was considerably destroyed during neutralization of Mukanna's antiArabian revolt in the 8th century. In 11th-12th centuries, under the Karakhanids Kesh was restored as a big city of Islamic culture. In the time of the Mongols Shahrisabz oasis became an independent pricipality of Barlas tribe a part of which was Amir Temur's clan. That is why the city became the second capital of Temur's empire and was famous for monumental architecture. Those constructions were greatly destroyed by Abdulla-khan II in the 16th century. In 18th-19th centuries Shahrisabz was the center of a princedom, defending its independence in constant wars against Bukhara amirat.