Part of a series on the
|History of Kashmir|
|Jammu and Kashmir|
The dynasty was established by Shah Mir in 1339 CE, there are two theories regarding Shah Mir's origin. Historian A. Q. Rafiqi states that some Persian chronicles of Kashmir describe Shah Mir as a descendant of the rulers of Swat.[a] He thinks it more likely that he was a descendant of Turkish or Persian immigrants to Swat, who had intermarried with local indigenous peoples. It has also been suggested that he belonged to a family which accompanied the sage Mir Sayyid Ali Hamadani, and who were associated to either the Kubrawiya، Sufi groups in Kashmir.
On the other hand, the 15th century Kashmiri historian Jonaraja, writing in the court of Shah Mir's descendant Budshah, states that Shah Mir came to Kashmir along with his tribe from the country of Panchagahvara (identified as the Panjgabbar valley between Rajouri and Budhal). He was said to belong to the family of an ancestor called Partha, who was described as a second Partha (an allusion to the Mahabharata hero Arjuna). Some scholars state that the Panjgabbar valley was peopled by Khasas and so ascribe a Khasa ethnicity to Shah Mir.
Most modern historians accept the Swati origins of Shah Mir. Swati are Afghans came to Dir Malakand region in time of Ghaznavi.  Kashmiri scholar N. K. Zutshi, having critically examined the sources, reconciles the two versions by noting that the Persian chronicles mentions Swadgir rather than Swat, which he interprets as Swadgabar, meaning "suburbs of Gabar", which coincides with Jonaraja's description of Panchagahvara-Simani (on the borders of Panchagagvara).
A. Q. Rafiqi states:
Shah Mir arrived in Kashmir in 1313 along with his family, during the reign of Suhadeva (1301–1320), whose service he entered. In subsequent years, through his tact and ability Shah Mir rose to prominence and became one of the most important personalities of his time.
Some of the architectural projects commissioned by the dynasty in Kashmir include:
Shah Mir worked to establish Islam in Kashmir and was aided by his descendant rulers, specially Sikandar Butshikan. He reigned for three years and five months from 1339–42. He was the ruler of Kashmir and the founder of the Shah Mir dynasty. He was followed by his two sons who became kings in succession.
Sultan Shamsu'd-Din Shah was succeeded by his elder son Sultan Jamshid who ruled for a year and two months. In 1343, Sultan Jamshid suffered a defeat by his brother who ascended the throne as Sultan Alau'd-Din in 1347.
Sultan Alau'd-Din, two sons became kings in succession, Sultan Shihabu'd-Din and Sultan Qutbu'd-Din.
|10||Muhammad Shah (i)||1484|
|11||Fateh Shah (i)||1486|
|12||Muhammad Shah (ii)||1493|
|13||Fateh Shah (ii)||1505|
|14||Muhammad Shah (iii)||1514|
|15||Fateh Shah (ii1)||1515|
|16||Muhammad Shah (iv)||1517|
|17||Ibrahim Shah (i)||1528|
|18||Nazuk Shah (i)||1529|
|19||Muhammad Shah (v)||1530|
|21||Ismail Shah (i)||1540|
|17||Nazuk Shah (ii) (i)||1540|
|18||Ibrahim Shah (i)||1552|
|19||Ismail Shah (ii) (v)||1555|
Note: Muhammad Shah had five separate reigns from 1484 to 1537.
Jonaraja records two events of Suhadeva's reign (1301-20), which were of far-reaching importance and virtually changed the course of the history of Kashmir. The first was the arrival of Shah Mir in 1313. He was a Muslim condottiere from the border of Panchagahvara, an area situated to the south of the Divasar pargana in the valley of river Ans, a tributary of the Chenab.
Shamir was a Khasa by birth and descended from the chiefs of Panchagahvara.
In the Rajatarangini, the rulers of Rajapuri (modern Rajauri) are called the lord of Khasas and their troops as Khasas. They occupied the valleys of Ans river, now called Panjagabhar (Pancagahvara of Srivara IV 213).
"This area in which Panchagahvara was situated is mentioned as having been the place of habitation of the Khasa tribe. Shah Mir was, therefore, a Khasa by birth. This conclusion is further strengthened by references to the part of the Khasas increasingly played in the politics of Kashmir with which their connections became intimate after the occupation of Kashmir.