Timur(id) rule (14th-15th centuries) Ibn Battuta visited in 1333, and called the city "one of the greatest and finest of cities, and most perfect of them in beauty." He also noted the orchards were supplied water via norias.
In 1365, a revolt against Chagatai Mongol control occurred in Samarkand.
In 1370 the conqueror Timur (Tamerlane), the founder and ruler of the Timurid Empire, made Samarkand his capital. During the next 35 years, he rebuilt most of the city and populated it with the great artisans and craftsmen from across the empire. Timur gained a reputation as a patron of the arts and Samarkand grew to become the centre of the region of Transoxiana. Timur's commitment to the arts is evident in the way he was ruthless with his enemies but merciful towards those with special artistic abilities, sparing the lives of artists, craftsmen and architects so that he could bring them to improve and beautify his capital. He was also directly involved in his construction projects and his visions often exceeded the technical abilities of his workers. Furthermore, the city was in a state of constant construction and Timur would often request buildings to be done and redone quickly if he was unsatisfied with the results. Timur made it so that the city could only be reached by roads and also ordered the construction of deep ditches and walls, that would run five miles (8.0 km) in circumference, separating the city from the rest of its surrounding neighbors. During this time the city had a population of about 150,000. This great period of reconstruction is encapsulated in the account of Henry III's ambassador, Ruy Gonzalez de Clavijo, who was stationed there between 1403 and 1406. During his stay the city was typically in a constant state of construction. "The Mosque which Timur had caused to be built in memory of the mother of his wife...seemed to us the noblest of all those we visited in the city of Samarkand, but no sooner had it been completed than he begun to find fault with its entrance gateway, which he now said was much too low and must forthwith be pulled down."
Between 1424 and 1429, the great astronomer Ulugh Beg built the Samarkand Observatory. The sextant was 11 metres long and once rose to the top of the surrounding three-storey structure, although it was kept underground to protect it from earthquakes. Calibrated along its length, it was the world's largest 90-degree quadrant at the time. However, the observatory was destroyed by religious fanatics in 1449.