# Shah Mir

Shamsu'd-Din Shah Mir (Persian: سلطان شمس الدین شاه میر) or simply as Shah Mir or Shah Mirza (r. 1339–1342) was the second Sultan of Kashmir and founder of the Shah Mir dynasty. Shah Mir is believed to have come to Kashmir during the rule of Suhadeva, where he rose to prominence. After the death of Suhadeva and his brother, Udayanadeva, Shah Mir proposed marriage to the reigning queen, Kota Rani. She refused and continued her rule for five months till 1339, appointing Bhutta Bhikshana as prime minister. After the death of Kota Rani, Shah Mir established his own kingship, founding the Shah Mir dynasty in 1339, which lasted till 1561.

## Origin

Modern scholarship differ on the origin of Shah Mir. However, most modern historians generally accept that Shah Mir was from Swat in Dardistan. Some accounts trace his descent from the rulers of Swāt.
Andre Wink puts forward the opinion that Shah Mir was possibly of Afghan, Turk, or even Tibetan origin. Encyclopaedia of Islam (second edition) suggests a possible Turkish origins. However, A.Q. Rafiqi believes that Shah Mir was a descendant of Turkish or Persian immigrants to Swat.$^{:311–312}$ Some scholars state that Shah Mir arrived from the Panjgabbar valley (Panchagahvara), which was populated by Khasa people, and so ascribe a Khāsa ethnicity to Shah Mir. It has also been suggested that he belonged to a family from Swat which accompanied the sage Mir Sayyid Ali Hamadani and were associated to the Kubrawiya, a Sufi group in Kashmir.
Older sources and historians such as Jonaraja state that Shah Mir was the descendant of Partha (Arjuna) of Mahabharata fame. Abu ’l-Fadl Allami, Nizam al-Din and Firishta also state that Shah Mir traced his descent to Arjuna, the basis of their account being Jonaraja’s Rajatarangini, which Mulla Abd al-Qadir Bada’uni translated into Persian at Akbar’s orders. This seems to be official genealogy of the Sultanate.

## Early career
### Early Service

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.
During the reign of Suhadeva, a Tatar chief by the name of Zulju invaded Kashmir and ravaged it. Suhadeva fled the country and his general Ramachandra occupied the throne. In the confusion Rinchan (r. 1320–1323), sought the aid of various generals, including Shah Mir, and caused an internal uprising, seizing the throne. He married Kota Rani, the daughter of Ramachandra. Rinchan embraced Islam at the hands of the ascetic, Bulbul Shah, and took the Muslim name of Sultan Sadruddin. He was later attacked by rebels, and was badly wounded, dying in 1323 A.D.
Just before his death Sultan Sadruddin summoned his trusted minister, Shah Mir, who had since then risen to some prominence, and put his son, Haider, and wife, Kota Rani, in his care. After the death of Sadruddin, Kota Rani married Udayanadeva, the brother of Suhadeva. However he was a weak ruler, so nearly all duties associated with governance fell on Kota Rani.

### During and After the Later Turco-Mongol Invasion

During the reign of Udayanadeva, the Kashmir Valley was again invaded by Mongol-Turk forces, and Udayanadeva fled to Ladakh. Kota Rani, along with Shah Mir, called upon the many disorganized Damara (warlords of Kashmir), rallying them together. This now unified resistance defeated the invading armies, prompting their retreat from the valley.

#### Revolt Against Kota Rani

In the aftermath of the conflict, Shah Mir won prestige for his role in unifying the people. Kota Rani took notice of his increasing popularity, and in an effort to check him, appointed Bhatta Bhiksana, a powerful man within the kingdom, as her Prime Minister. She also decided to move her capital to Andarkot, away from Srinagar, where Shah Mir had a great influence. This enraged Shah Mir, as he felt ignored in spite of his great labors for the kingdom. He had Bhiksana assassinated , and asked Kota Rani to marry him and share power, threatening to wage war on her if she was to refuse. She declined, and the two of them began organizing their armies.
Shah Mir set out with his army from Srinagar towards Andarkot. Kota Rani sent out a force to check his advance, but it was promptly defeated. The fort at Andarkot was then laid siege to. While this was going on, many of Kota Rani's troops, seeing the futility of the situation, deserted and joined Shah Mir, to whom most important chiefs in the kingdom had already pledged allegiance.
Kota Rani soon surrendered, and accepted Shah Mir's earlier proposal. However given the awkward situation in which Kota Rani accepted, and the possibility for a counter-uprising, made more probable when accounting for the small slivers of support Kota Rani still had, Shah Mir could not take any risks. Kota Rani and her two sons were imprisoned, where they later died.

## Reign as Sultan

With Kota Rani defeated and having already secured the allegiance of the powerful damara warlords, Shah Mir declared himself the ruler of Kashmir, taking on the title of Sultan Shams-ud-Din.
Shams-ud-Din worked to firmly establish Islam in Kashmir and was aided by his descendants. In an effort to keep the local feudal chiefs in check, he raised to power two indigenous families, the Magres and the Chaks. He also introduced a new era to the people of Kashmir, called the Kashmiri Era. This replaced the Laukika Era that had existed prior to this. The Kashmiri Era began with Rinchan's accession and conversion to Islam in 1320 CE (720 AH). This Era remained in use until the Mughal conquest of Kashmir in 1586. Shams-ud-Din had two sons, Jamshed and Ali Sher.
He reigned for three years and five months from 1339–42. He is currently buried in Andarkot, near Sumbal.

## Succession

Sultan Shah Mir died in 1342. He was succeeded by Sultan Jamshid Shah Miri as the second sultan of Shah Mir Dynasty.