# Utpala dynasty

The Utpala Dynasty was a medieval Kashmiri Hindu dynasty that ruled over Kashmir from the 9th to 10th centuries. Founded by Avantivarman in 855 CE, it replaced the Karkota dynasty. It came into existence in the northern region of the Indian subcontinent. The cities of Avantipur (Awantipora) and Suyapur (Sopore) were founded during the reign, and many Hindu temples dedicated to both Vishnu and Shiva, and Buddhist monasteries were built, notable of which is the Avantiswara and Avantiswami temples.

## Sources
### Literature

Kalhana's Rajatarangini, written in the 11th century, was meant to outline Kashmir's past. The book focused on the Utpala dynasty in its fifth section. The dynasty controlled the area from the 9th to 10th centuries, coming into existence in the northern part of the Indian subcontinent under Avantivarman in 855 CE. He depended on a variety of material including earlier historical works, dynastic genealogies, inscriptions, coins and Puranas.
The work has a contested repute of being the only pre-modern work in Sanskrit resembling positivist notions of history; however, its accuracy is disputed—Zutshi and other scholars find the poem to be a blend of "mythical, political, social, spiritual, and geographical" narratives, which aimed at defining Kashmir as an idealized ethical space. Nonetheless, historical accuracy increases drastically from the fourth book onward, starting with the narration of Karkota dynasty; the book—typically the critical edition by Aurel Stein—has been heavily cited to reconstruct Kashmiri history.

### Coins

Coins issued by all the major rulers of the Utpala dynasty have been found.

## History
### Establishment

Following the death of Cippatajayapida, the last significant king of the Karkota dynasty, around 840 CE, a bitter power struggle erupted between his uncles. The war between Padma, Utpala, Kalyana, Mamma, and Dharma to seize control of the empire grew increasingly bloody and the line of succession unclear. In the meantime, puppet kings were propped up and discarded, hailing from the Karkota lineage but failing to exert sufficient authority or establish stability.
Tribhuvanapida's son, Ajitapida was nominated by Utpala immediately after Cippatajayapida's death. A few years afterwards, Mamma waged a successful battle against Utpala, and installed Anangipida. Three years later, Utpala's son Sukhavarman rebelled successfully and installed Utpalapida, a son of Ajitapida. Within a few years, Sukhavarman set out to assume the throne for himself but was murdered by a relative; finally, his son Avantivarman deposed Utpalapida and claimed the throne c. 855 with help from minister Sura, thus establishing the Utpala dynasty.

### Avantivarman

Avantivarman of Kashmir was the founder of the dynasty, he ascended to the throne in about 855/856 AD, and went on to rule for 27 years until 883. Rajatarangini records no military activity during his reign and frontier territories remained outside Kashmir sovereignty.
His minister Suyya was responsible for several innovations in the field of irrigation and water-management.

### Sankaravarman
#### Accession and early rule

The death of Avantivarman led to a power struggle. Sankaravarman was placed at the helm of affairs by Ratnavardhana, the chamberlain. However, counselor Karnapa throned Sukhavarman instead. Multiple battles were waged, before the latter emerged victorious.
Kalhana notes that Sankaravarman invaded Gujrat with an army composed of "nine lac infantrymen, three hundred elephants and one lac cavalry"; Alakhana, the local ruler had to gift a swath of territory to maintain his sovereignty. Samkaravarman was married to Sugandha, the daughter of a neighboring king and had at-least three other queens including one Surendravati. He is remarked to have brought cultural as well as economic prosperity.

#### Despotism and death

However, the later years of his regime were cruel and marked by rampant oppression, especially from a fiscal perspective. Kalhana described him to be a "robber" who seized profits exacted by temples, plundered religious institutions and brought agraharas etc. under direct control of the crown whilst providing minimal compensations.
Forced labor were systematically legitimized in Kashmir for the first time and not rendering such services was made into an offense. New revenue offices were created and an elaborate taxation scheme was devised, which led to the employment of numerous Kayasthas in royal service. Kalhana blames these lowly Kayasthas for driving honest villagers to poverty and destroying all repute of Samkaravarman. Scholarship struggled to flourish and court-poets lived a pitiful existence, without pay. Famines and other calamities became commonplace.
These continued despite Gopalavarman accusing his father of unbound greed and inflicting terrible misfortune on the subjects. Finally, Shankaravarman died in 902 of a stray-arrow at a foreign territory, whilst returning from a successful conquest. His ministers guarded-back the corpse to Kashmir, where last respects were conferred and funeral rites organized; some of his queens and servants died by Sati. Despite having thirty to forty issues, none other than Gopalavarman and Samkata survived past infancy, in what Kalhana ascribed to karma.

### Gopalavarman

Gopalavarman was installed as the new king, with John Nemec noting that the labyrinthine series of coups to start with him would be worthy of a Mahabharata-like epic. He had a short reign of two years (902–904) under the regency of Sugandha.
Gopalavarman led a famed expedition against a rebel Hindu Shahi king of Udabhanda c. 903 and bestowed the spoils on a "Toramana-Kamaluka." However, this victory however turned him haughty and the court became unapproachable for the commoners. Effective power began to wielded by Sugandha's paramour, Prabhakaradeva who was also the royal treasurer. This continued till he was caught in the act of embezzling state-coffers and a probe launched.
Prabhakaradeva employed Ramadeva—one of his relatives—to assassinate the king by practice of witchcraft. Gopalavarman died of a fever soon and Ramadeva died by suicide, after his conspiracy became public knowledge. Gopalavarman had at-least two consorts—Nanda, a child-girl and Jayalakshmi. He had no issue at the time of his death but Jayalakshmi was already pregnant. Consequently, Samkata ascended the throne only to die after ten days.

### Sugandha

Sugandha seized the throne after Samkata, apparently with an intention of securing it for her grandson (from Jayalakshmi); however, he died soon after birth. She took the throne for herself and ruled for two years—in an environment marked by upheaval of the Tantrins—before trying to install Nirjitavarman, a grandson of Suravarman as well as her blood-relative.
This was met with considerable resistance from the ministers as well as the Tantrins, on grounds of his lameness and they installed Nirjitavarman's child-son Partha instead. Thereafter, Nirjitavarman was retained as a regent but Sugandha and her counsel were ousted.

### Partha and Nirjitavarman

Crowned at an age of ten, his reign of ten years (906–921) were under the regency of Nirjitavarman, who in turn was a puppet at the hands of Tantrins and the ministers. The subjects were oppressed and heavy bribes were exacted.
Samkaravardhana, the eldest minister allied with another minister Sugandhaditya to plunder the royal finances; prime-minister Merubardhana's sons accrued riches as well. In 914, Sugandha sought to unsuccessfully regain the throne with help from Ekangas and clashed with the Tantrins in a battle; she was imprisoned and executed. In 917, Kalhana mentions of a flood which subsequently led to a cataclysmic famine; the ministers along with Tantrins made profits by selling hoarded rice at high prices.
Partha had multiple wives, a mistress Sambavati, and at-least two sons Unmattavanti and Samkaravarman II. Nirjitavarman had at-least two queens—Bappatadevi and Mrigavati, who was the daughter of Meruvardhana. Kalhana notes both of them to have entered into sexual relations with Sugandhaditya, in order to secure the throne for their respective sons—Cakravarman and Suravarman I. The entire span was marked by struggles for the throne between Partha and Nirjitavarman and in 921, Partha was finally overthrown by the Tantrins. Nothing is recorded by Kalhana about Nirjitavarman's rule of two years. He died, after having placed Cakravarman on the throne.

### Cakravarman and others

Cakravarman was yet another child-ruler; the Tantrins immediately tried to install back Partha but in vain. Cakravarman went on to rule for ten years (till 933/934), a few months under the regency of his mother and then, under grandmother Ksillika.
A new revolution by the Tantrins then installed Suravarman I; he ruled for about a year before being compelled to abdicate the throne, after failing to raise the demanded bribes. Partha was re-installed with Sambavati conciliating the Tantrins in his favor but deposed within a very short time-span, as Cakravarman promised the Tantrins with even greater riches. After restoration in 935, he installed Tantrins at important offices but had to flee again, after failing to raise enough taxes.
Following Cakravarman's abdication, Samkaravardhana dispatched his brother Sambhuvardhana to negotiate with the Tantrins on his behalf. In the negotiating tables, he promised even greater bribes and purchased the crown for himself, deceiving Samkaravardhana.

#### Cakravarman restored

In the meanwhile, Cakravarman forged an alliance with the Damaras (led by Samgrama) in exile and their combined forces took on Sambhuvardhana in the spring of 936 near Padmapura—modern-day Pampore. Samkaravardhana, who served as the war-commander for the tantrins was slain by Cakravarman himself, in what Kalhana described as a moment of impeccable valor and significance, as the rest were now easily routed. Cakravarman was reinstalled after a victory-parade through the city and he rejected pardoning Sambhuvardhana and a bunch of tantrins, who were caught whilst fleeing away.
His subsequent rule of about a year is held to be cruel and excessive, as Kalhana deems him to have been led astray by excessive praises and from intermingling with people from low castes. Particular criticism is reserved for his' granting an audience to Ranga, a famed singer from the lowly Domba caste; her daughters Hamsi and Nagalata are alleged to have ensnared the king in the process.
Hamsi soon became the chief-queen and began to control the affairs of state by installing fellow Dombas (and people who were subservient to them) at important offices: they became the king's closest friends and their oral commands were as powerful as royal decrees. Courtiers had to eat the remnants of food left over by the Dombas and ministers adorn clothes, bearing menstrual stains of Domba queens. Sacred spaces were regularly "polluted" by the low castes. Cakravarman's Domba counsel allegedly even made him rape a Brahmin wife during her ritualistic fast, on the pretext of atoning his sins for having engaged in sexual relations with out-caste women.
In the summer of 937, a group of Damara guards attacked Cakravarman in a privy at night and chased him into Hamsi's sleeping-chamber; Cakravarman—failing to locate any weapon—met with his end, in her embrace. Kalhana notes this to be a retaliation to his' killing numerous Damaras, in breach of the earlier alliance. Cakravarman's wives had allegedly urged the guards to stone his knees in his final dying moments.

### Unmattavanti

Unmattavanti ascended to the throne after Cakravarman, with help from minister Sarvata and others. In a regime marked by wanton violence, ridiculousness, and oppression, he was effectively controlled by a minister named Parvagupta, who desired for the throne. Unmattavanti employed Kayasthas in royal services and appointed Rakka, a Brahmin foot-soldier from the house of Samgrama, as the prime-minister.
At Parvagupta's behest, he had his brothers starved to death and his unarmed father (and step-mothers) assassinated. Kalhana mentions of Unmattavanti to have been delighted at seeing Partha's corpse, which was even dagger-ed by Parvagupta's son Devagupta in front of him. Kalhana also accuses Unmattavanti of engaging in a range of dastardly acts including mutilating pregnant women, amputating limbs of laborers, and hitting naked women at their cleavage.
Unmattavanti has fourteen queens and probably no son. He died of a chronic disease in 939, suffering immense pain; before his death, he had Suravarman II (who was falsely proclaimed by the servants of his seraglio to be his own son) crowned.

### Suravarman II and disintegration

Suravarman II reigned for hardly a few days, before being ousted by his commander-in-chief Kamalvardhana, who had declared rebellion from his base in Madavarajya against the Damras (and by extension, the Utpalas). He fled the kingdom with his mother, bringing the Utpala Dynasty to an end. Kamalvardhana convened an assembly of Brahmins to appoint the next ruler, who rejected his self-nomination as well as a request from Suravarman II's mother.
Yasaskara, the son of Prabhakaradeva was instead chosen. This brought an end to the Utpala dynasty and would set the stage for Didda's autocracy.

## Society
### Religion

Avantivarman was a devout Vaishnav in his private life but granted public patronage to Shiva. Vaikuntha Chaturmurti continued to be the tutelary deity of the Utpala dynasty. He was also venerated in adjoining regions.

## Art and architecture
### Literature

All surviving literature are traced from the court of Avantivarman, who was a famed patron of arts; Ratnākara and Ānandavardhana were his court-poets.

### Shrines and cities

Avantivarman along with his chief-minister Sura commissioned numerous temples and towns—Avantipura, Surapura and the Avantiswami Temple. Suyya established the town of Suyyapura. Samkaravarman established Samkarapura (modern-day Pattan) and, in conjunction with Sugandha, the Shiva-temples of Samkaragaurisa and Sugandhesa. Another Shiva-temple in Fattegarh has been dated to his times. Sugandha, during her rule, got constructed the towns of Sugandhapura and Gopalapura, the Vishnu temple Gopalakesava, and the monastery Gopalamatha. Nanda consecrated the shrines of Nandakesava and Nandamatha. Meruvardhana built the Vishnu shrine of Meruvardhanasvamin at Puranadhisthana (modern-day Pandrethan). Sambavati was responsible for founding the Shiva-shrine of Sambveswara.
* Remains of the Avantiswami Temple built by Avantivarman, of the Utpala dynasty
* Reliefs from the Avantiswami Temple

### Sculpture

* The Buddhist deity Chakrasamvara, 9th–10th century CE. LACMA.
* Bodhisattva Padmapani, Kashmir, 10th century, Linden Museum, Stuttgart

## List of rulers

| Ruler | Reign |
| Avantivarman | 853/855 – 883 CE |
| Shankaravarman | 883 – 902 CE |
| Gopalavarman | 902 – 904 CE |
| Sankata | 904 CE |
| Sugandha | 904 – 906 CE |
| Partha | 906 – 921 CE |
| Nirjitavarman | 921 – 922 CE |
| Chakravarman | 922 – 933 CE |
| Shuravarman I | 933 – 934 CE |
| Partha (2nd reign) | 934 – 935 CE |
| Chakravarman (2nd reign) | 935 CE |
| Shankaravardhana (or Shambhuvardhana) | 935 – 936 CE |
| Chakravarman (3rd reign) | 936 – 937 CE |
| Unmattavanti ("Mad Avanti") | 937 – 939 CE |
| Shuravarman II | 939 CE |
| Yashaskara-deva | 939 CE |
| Varnata | 948 CE |
| Sangramadeva (Sanggrama I) | 948 CE |
| Parvagupta | 948 – 950 CE |
| Khemgupta | 950 – 958 CE |
| Abhimanyu II | 958 – 972 CE |
| Nandigupta | 972 – 973 CE |
| Tribhuvanagupta | 973 – 975 CE |
| Bhimagupta | 975 – 980 CE |
| Didda | 980 to 1009/1012 CE |
Didda (c. 980 – 1003 CE) placed Samgrāmarāja, son of her brother on the throne, who became founder of the Lohara dynasty.