After the death of Queen Kota, Shah Mir ascended the throne under the name of Sultan Shamas-ud-din, and his dynasty ruled the state for 222 years. This period is one of the most important in the annals of Kashmir, in as much as Islam was firmly established here. The Shah-Miri dynasty has given us only two rulers, who are worthy of mention. One is Sultan Shihabud-din, and the second is the great Sultan Zain-ul-Abdin. The former ascended the throne in 1354, and continued to rule till 1373. He was full of energy, and vigour and he was able to establish his sway over the neighbouring countries. His army mainly consisted of Damras, Lavans and the hill tribes of Poonch, Rajapuri and Kishtwar. The important commanders who served under him were both Hindus and Muslims, such as Chandra-Damra, Laula Damara, Shura, Syed Hassan and Abdul Raina. His two important Hindu ministers were Kota Bhat and Udyashri. At the begining of his reign, he led an army to Sindh and defeated its ruler. While returning he defeated Afgans near Peshawar and then he conquered Kabul, Gazni, Qandhar, Pakhali, Swat and Multan. He invaded Badakshan, and then marched towards Dardistan and Gilgit, which he easily conquered. Then he marched towards Bulochistan and Ladhak. The ruler of Kashgar (central Asia) came with a huge army and Shah-u-din whose army was numerically inferior, inflicted a crushing defeat and the Kashgar army was almost wiped out. This led to the annexation of Laddhak and Bultistan, which were claimed by the Kashgar ruler. It is also said that the ruler or Kashmir marched towards Delhi, and on the way conquered Kangra, and then the army of Ferozashah Tughlaq opposed him on the banks of Sutluj. Since the battle between the rulers of the Delhi and Kashmir was indecisive, peace was concluded and it was agreed that all the territory from Sirhind to Kashmir was to belong to the Kashmir ruler. Shah-ud-din was not only a great conqueror but also an able administrator, and he governed his kingdom with firmness and justice. He was tolerant ruler and treated his Hindu subjects generously.
It is reported that owing to prolonged campaigns he needed money, and his ministers asked him to loot the temples, but he stoutly opposed the proposal, and to quote Jonaraj, he is reported to have said in anger: "Past generation have set-up images to obtain fame, and earn merit, and you propose to demolish them. Some have obtained renown by setting up images of gods, others by worshipping them, some by maintaining them, and you propose demolishing them. How great is the enormity of such a deed ". The king founded a new town which he called Shihab-ud-din-pora, known now as Shadipur. He is also said to have erected many mosques and monasteries. Shihab-ud-din can rightly be called the Lalitaditya of medieval Kashmir. During his time Kashmir armies marched to distant lands, and our victorious banners were unfurled on many forts of foreign countries. Thus this great ruler raised Kashmir to great eminence, and power.
The next ruler was Sultan Qutab-ud-din, and in whose time the only important event worth mentioning is the arrival of said Ali Hamdani, who was the most remarkable personality of the then muslim world. At the time of his third visit he got with himself 700 Syeds from Hamdan, who were being out to torture by Timur, ruler of Persia. These syeds established their centres of missonery activities in different parts of the valley. In 1389, Qutab-ud-din died, and he was succeeded by his eldest son Sultan-Sikandar. It was in the time of this Sultan, that the political atmosphere of the state was vitiated. Whereas all former rulers had followed a policy of religious toleration, the new Sultan like Aurangazeb was a man of puritan temperament. He banned all gay celebrations and would not listen to music even. He imposed Jizia upon Hindus and stopped them to use tilak on their fore-heads. Writes M. Hassan: "In their misplaced zeal for their faith, Sikandar and his minister Saif-ud-din (who was originally a Hindu) were also responsible for the destruction of images and temples ." Almost all the muslim chroniclers speak of the wholesale destruction of Hindu shrines including the 'Martand' Temple, and forcible conversion of Hindus to Islam. Thousands of Hindus fled to India to save their religion and holy books, and also to escape the wrath of the Sultan. Shahi-Khan or Sultan Zain-ul-Abidin, ascended the throne in 1420 A. D. and ruled upto 1470 A. D. nearly for half a century. His accession to the throne, proved to be the return of a bright and warm day after a cold and a chilly night.
In the words of Pandit Anand Kaul: "possessed of a broad and tolerant outlook, with a desire to benefit mankind, he ruled with such equity, and justice and did so much to improve the material prosperity of the people, that one can not fail to admire him, his benevolent rule demands special homage in as much as he lived in a period when he had no worthy and enlightened contemporary to emulate. In the world around him, he could have little to help him. He was a potentate encouraged to be tyrannical and selfish by tradition, and especially by the examples of his father, Sultan Sikander. Zain-ul-Abidin was deservedly surnamed Budshah or the great King. In spite of 5 centuries having rolled by since he ruled, his name is still remembered with genuine reverence and gratitude. Take the name of Budshah before a Kashmiri, and at once with a happy countenance he will rhyme it with Pad-Shah ". Writes another modern historian M. Hassan : " of all the Sultans who sat on the throne of Kashmir, Zainulabidin was undoubtedly the greatest. He ushered in a period of nearly half a century of peace, prosperity, and benevolent rule for his people. He introduced many arts and crafts for which Kashmir has become famous ever since. He promoted learning, music and painting and made Kashmir the centre of great culture. He won the loyality and affection of his subjects who called him Budshah or the great king, a name by which he is remembered even to day by the people of Kashmir. He acquired a halo in popular imagination which still surrounds his name inspite of the lapse of nearly 500 years."
Zain-ul Abidin organized a huge army, and with its help he reconquered the Punjab, Western Tibet, Ladhak and Balti region, Kulu and Ohind ( Hazara ). The Sultan also maintained cordial and friendly relations with rulers of other countries. The Sheriff of Macca and the Kings of Jilan and Egypt sent him presents. The Maharaja of Gwalior, hearing that the Sultan was interested in Music, sent him valuable works on Indian music. There was also an exchange of embassies and gifts between the great Sultan and the rulers of Sindh, Bengal, Tibet, Gujrat, Malwa and Delhi. The Sultan improved the tone of administration which had rudely been shaken. He appointed talented persons in high administrative posts, irrespective of caste or creed. The Sultan had a high sense of justice and no one who committed a crime was spared, however close he was to throne. Many grandees who were favourites of the king, were severly punished when found guilty. The king took keen interest in agriculture and like Lalitaditya and Avantivarman, many canals were dug out in all parts of the Kingdom. Jonraj and Shriva have given details of these canals in their valuable books. Owing to these irrigation works, the draining of marshes and reclamation of large areas for cultivation, Kashmir became self-sufficient in food, and rice was cheap.
One of the most outstanding features of his administration was the just and liberal treatment of the Hindus, who were not only allowed complete freedom of worship, but the Sultan recalled all those who had fled to India in the time of his father. He allowed those Hindus who had forcibly been converted, to return to their former religion. The Sultan banned cow slaughter and permitted the repair and rebuilding of the temples at government expenses. He granted lands to learned Brahmins, endowed temples and for Hindu pilgrims visiting holy places in the valley he opened a royal kitchen at Rainawari known even now as Jogi Lanker. Jiziya was almost abolished and the Sultan participated in Hindu festivals and entertained Brahmins and Sadhus on auspicious days. Some of his important Hindu ministers were the famous physician Shri Bhat, Tilakacharya, Simha Bhat, Ruppa Bhat, Karupar Bhat and Shrivara. At the same time Sultan was a great patron of men of letters such as Syed Mohammud Rumi, Syed Ahmad Rumi, Quazi Syed Ali Shirazi, Qazi Jamal and Maulana Kabir to mention only a few. The Sultan had also established a translation department where important works were translated from Sanskrit into Persian and Arabic. The Sultan opened schools and hostels for the students. It is for encouragement of arts and crafts that Kashmir will be permanently indebted to the Sultan. In the Hindu times, the valley was equally famous for its arts and crafts but these had greatly suffered in the chaos which lasted for over two hundred years. The Sultan invited competant teachers from countries to Kashmir, so that they could train people here. Among many industries introduced by him, we can mention carpet, paper machine, paper making, silk rearing, shawls, manufacture of gun powder etc. Kashmir became so famous for beautiful designs on silks and shawls that our state acquired an unrivalled fame in Asia.
Even after a century when Babar's cousin Mirza Haider Daulghat invaded Kashmir, he wrote in Tarikhi-Reshidi: "In Kashmir one meets with all these arts and crats which are in most cities uncommon, such as stone polishing, stone cutting, bottle making window cutting, gold beating etc. In the whole Maver-ul-Nahir ( Khorasan ) except in Samarkand, and Bokhara, these are nowhere to be met with, while in Kashmir they are in abundance. This is all due to Zain-ul-Abidin." The Sultan was a great builder. He founded the new city called Nowshedar ( a part of the city now. ) He adorned it with splendid houses for his officers, courtiers and learned men. He built a palace of 12 storeys in it, each containing 50 rooms, halls and corridors. It was surmounted by a golden dome, and its spacious halls were lined with glass. Besides Nowshader, the Sultan founded the town of Zainapur, Zainakut and Zainagir. Similarly he built the first wooden bridge at Srinagar known even now as Zainakadal. In 1470 A. D. the Sultan died and for a long time his death was mourned by the people. Sultan Zain-ul-Abidin's death sounded the death knell of Shah-Miri dynasty. It met the same fate that the Lohara dynasty had met after the death of Jaisimha in 1156. The only important event that took place before the establishment of Chak dynasty was the invasion of Mirza Haider Dughlat who attacked Kashmir from Zogila pass in 1533. Soon he was able to establish his ascendancy in the valley. The Moghul, like Dulchu earlier, killed, looted and plundered the people, and made women and children their slaves. The Sultan of Kashmir, Nazuk Shah, became almost a puppet in his hands. Moghuls were appointed on high posts everywhere, and the Jagirs of Kashmir Noblemen were confiscated. For more than a decade Mirza was the virtual ruler of the valley and he gave peace and orderly Government to the country. He encouraged Kashmir Art and Crafts, and trade and commerce once again thrived in the valley. The last Shahmiri ruler, Sultan Habib Shah, a weakling was deposed by his commander, and nobles raised on throne Gazi Chak, a prominent military General of the time. He was the direct descendant of Lankar Chak who had come to Kashmir towards the close of Hindu rule. The Chak rule began in Kashmir in 1561 and lasted till 1587, when Akbar, the great Moghul Emperor conquered Kashmir.