Founded in the 6th century during the rule of the Gonanda dynasty according to the Rajatarangini, the city took on the name of an earlier capital thought to have been founded by the Mauryas in its vicinity. The city remained the most important capital of the Kashmir Valley under the Hindu dynasties, and was a major centre of learning. During the 14thโ16th centuries the city's old town saw major expansions, particularly under the Shah Mir dynasty, whose kings used various parts of it as their capitals. It became the spiritual centre of Kashmir, and attracted several Sufi preachers. It also started to emerge as a hub of shawl weaving and other Kashmiri handicrafts. In the late 16th century, the city became part of the Mughal Empire, many of whose emperors used it as their summer resort. Many Mughal gardens were built in the city and around Dal lake during this time, of which Shalimar and Nishat are the most well-known.
m
m