Kashmir
Kashmir occupies the mountain-ringed valley of the upper Jhelum River between the Pir Panjal Range and the Greater Himalayas, guarding trade routes toward Central Asia and the Tibetan Plateau. Rising in the seventh century, the Karkota dynasty expanded under Lalitaditya Muktapida, who raised the Martand Sun Temple and campaigned across northern India. In the ninth century, the Utpala king Avantivarman and his engineer Suyya drained floodplains and built planned river towns.
Queen Didda ruled from 980 before her nephew Sangramaraja founded the Lohara dynasty in 1003. Under Lohara kings, Sanskrit poetics and Trika Shaivism flourished, and in the mid-twelfth century Kalhana composed his chronicle Rajatarangini. Rule later passed through the Vopyadeva line, Dakhinpara kings, and the Ladakhi ruler Rinchana before the Shah Miri Sultanate arose in 1339, where Zain-ul-Abidin recruited artisans in the first half of the fifteenth century to foster Persianate administration and local wool weaving.