# Somavamshi dynasty

The Somavamshi (IAST: Somavaṃśī, "Lunar dynasty") or Keshari (IAST: Keśarī) dynasty ruled parts of present-day Odisha in eastern India between the 9th and the 12th centuries. Their capitals included Yayatinagara (modern Binka) and Abhinava-Yayatinagara (modern Jajpur).
The Somavamshis may have been related to the Panduvamshis, who ruled the Dakshina Kosala region in central India. They were probably driven out from this region by the Kalachuris, following which they conquered the Kalinga and the Utkala regions in present-day Odisha, supplanting the Bhauma-Karas.
The Somavamshis introduced a new style of art and architecture in Odisha, and their rule saw a remarkable shift from Buddhism to Hinduism in the region. The Somavamshi rule ended in the early 12th century, when the Eastern Ganga ruler Anantavarman Chodaganga captured their territories.

## Origin

The Somavamshis may have been related to the Panduvamshis of Dakshina Kosala, whose rule in the Dakshina Kosala region seems to have declined in the 8th century. Both dynasties claimed lunar lineage; the early Panduvamshi kings also claimed descent from the legendary Pandavas, unlike the Somavamshi, but this was not the case with the later Panduvamshi kings. The later Panduvamshis, like the Somavamshis, adopted names ending in -gupta. The Panduvamshi kings Tivaradeva and Balarjuna bore the regnal titles "Maha-shiva" and "Maha-shiva-gupta" respectively; multiple Somavamshi rulers bore the regnal name "Maha-shiva-gupta". While the Panduvamshi copper-plate inscriptions are inscribed using "box-headed" characters, all the stone inscriptions starting from the reign of Balarjuna are inscribed in the Nagari script, which is also the script of the Somavamshi inscriptions. The early Somavamshi kings ruled in western Odisha, which once formed the eastern part of Dakshina Kosala, and the Chaudwar inscription of the earliest known Somavamshi king Mahashivagupta I (alias Janamejaya) describes him as Kosalendra ("lord of Kosala"). Several Somavamshi inscriptions record grants to people from Kosala, grants of villages located in Kosala, and appointment of Kosala-specific officers.
All these similarities indicate that the Somavamshis were related to the Panduvamshis, but this cannot be said with certainty. According to one theory, the Panduvamshis were driven out of Kosala by the Kalachuris, and migrated eastward. There, they established their capital at Vinitapura (modern Binka) on the banks of the Mahanadi River. The rulers whose territory was limited to the area around Vinitapura are termed as "early" Somavamshis, as opposed to the "later" Somavamshis who ruled a bigger part of Odisha.

## Political history
### Janmejaya I

Janmejaya I (c. 882–922) probably controlled a part of coastal Odisha, & appears to have made inroads into the neighboring Bhauma-Kara kingdom, through his daughter, who married the Bhauma-Kara king Shubhakara IV. After Shubhakara IV, the kingdom was ruled by his brother Shivakara III. Subsequently, Janmejaya's daughter ascended the Bhauma-Kara throne as Tribhuvana-Devi II around 894 (with her father's support, according to most historians).
A Brahmeswara Temple inscription states that the king of the Odra country was killed by Janmejaya's kunta (spear) in a battle. Historian Krishna Chandra Panigrahi identified this king of Odra as Shivakara III, and theorized that Janmejaya placed his daughter on the Bhauma-Kara throne after killing him. However, other historians disagree with this theory, stating that Odra in this context refers not the whole of present-day Odisha, but only a small vishaya (district) centered around the present-day Dhenkanal district. According to this theory, the king of Odra referred to in the inscription was probably a rebel Bhanja vassal.
During his long reign of 34 years, Janmejaya issued a number of grants (recorded in form of copper-plate inscriptions) at various "victorious camps". This suggests that Janmejaya consolidated the Somavamshi rule in western Odisha moving from place to place. During his 31st regnal year, he issued three grants from Kataka, which has been identified as Chaudwar near modern Cuttack. This suggests that his influence extended to eastern Odisha by the end of his reign.

### Yayati I

Yayati I (c. 922–955), the son of Janmejaya I, made a large number of village grants in the Dakshina Kosala region, which was the traditional stronghold of his family. These grants are recorded on the inscriptions issued at Yayatinagara, which was probably same as the former Somavamshi capital Vinitapura, and which Yayati may have renamed after himself. The capital was later moved to the Bhauma-Kara capital Guheshvarapataka (modern Jajpur), which was renamed to Abhinava-Yayatinagara ("the new city of Yayati").
It is not clear when the Somavamshis gained control over most of Odisha, but this may have happened by the time of Yayati I. Yayati I seems to have continued the expansionist policies of his father, further consolidating the kingdom. This is apparent from his inscriptions, which record grants of villages that were formerly not part of the Somavamshi territory. For example, Chandagrama (modern Changan south-east of Cuttack) used to be a part of the Bhauma-Kara territory, while Gandatapati (modern Gandharadi) used to be located in the Bhanja territory.
Before the Somavamshi conquest of Odisha, an image of Jagannatha had been removed from Puri, during the Rashtrakuta invasion of c. 800. Yayati I is credited with building a new temple at Puri, and re-installing the image of Purushottama (Jagannatha) there. His reign marks the beginning of the Somavamshi style of temple architecture, which features form, ornamentation and iconography not previously seen in Odisha. This new style can probably be attributed to the dynasty's central Indian origins.

### Foreign invasions

Little is known about Yayati I's successors Bhimaratha, Dharmaratha, and Nahusha. Dharmaratha seems to have died without an heir, and Nahusha was probably his brother. By the time of Dharmaratha, the Somavamshis had taken control of the former Bhauma-Kara territories, although it is not known how exactly this happened. The Somavamshi lost these territories soon after his death.
During this period, the Somavamshi kingdom suffered several foreign invasions, the most notable of which was the 1021 Chola invasion of their capital Yayatinagara. There is some evidence that the Paramaras of Malwa and the Kalachuris of Tripuri also invaded the Somavamshi kingdom.

### Revival

Nahusha was succeeded by his younger cousin Yayati II a.k.a. Chandihara, who was a descendant of Janmejaya I through Vichitravirya (grandfather) and Abhimanyu (father). The Brahmeswara Temple inscription suggests that Yayati II restored order to the kingdom after being appointed as the king by the ministers. He re-established the Somavamshi control over Kosala and Utkala, which had been lost to rival chiefs. One of his inscriptions describes him as the lord of Kalinga, Kosala, and Utkala. The Somavamshi records also credit him with conquering distant regions like Gurjaradesa and Lata, but these claims appear to be poetic hyperbole, and are not supported by historical evidence.
Yayati II was succeeded by his son Uddyotakeshari, whose reign was relatively peaceful. Uddyotakeshari championed the cause of Brahmanism, and restored a number of temples and ponds. During the 18th year of his reign, his mother Kolavati Devi dedicated the Brahmeshvara (Brahmeswara) Temple at modern Bhubaneswar. The construction of the Lingaraja Temple probably began during the later part of his reign, and completed during the reign of his successor Janmejaya II. Uddyotakeshari also patronized the Jains of Udayagiri.

### Final decline

After Uddyotakeshari, the Somavamshi kingdom declined gradually. The Kalachuris of Ratnapura conquered some western parts of the Somavamshis and reached their height around that period. The dynasty lost its territories to the Nagas in the north-west, and the Gangas in the south. The kingdom of the last Somavamshi ruler Karnadeva was confined to the coastal tract between the present-day Balasore and Puri districts. By 1114, the Somavamshi king had fallen to the Ganga king Anantavarman Chodaganga.

## List of rulers

Historian Krishna Chandra Panigrahi provides the following chronology of the later Somavamshis:
| Sr.nu. | Titular name (IAST) | Regnal name (IAST) | Reign (in CE) |
| 1. | Janmejaya I | Mahābhavagupta I | c. 882–922 |
| 2. | Yayāti I | Mahāśivagupta I (Mahashivagupta) | c. 922–955 |
| 3. | Bhīmaratha | Mahābhavagupta II | c. 955–980 |
| 4. | Dharmaratha | Mahāśivagupta II | c. 980–1005 |
| 5. | Nahuṣa (Nahusha) | Mahābhavagupta III | c. 1005–1021 |
| 6. | Yayāti II | Candihara (Chandihara) Mahāśivagupta III | c. 1021–1040 |
| 7. | Uddyotakeśarī (Uddyotakeshari) | Mahābhavagupta IV | c. 1040–1065 |
| 8. | Janmejaya II | Mahāśivagupta IV | c. 1065–1085 |
| 9. | Purañjaya | Mahābhavagupta V | c. 1085–1110 |
| 10. | Karṇadeva | Mahāśivagupta V | c. 1100–1110 |

## Religion

The Somavamshi kings were Shaivite Hindus, as evident from their inscriptions. The Pashupata and the Mattamayura schools of Shaivism appear to have been popular during their time.
A gradual move from Buddhism to Brahmanism (the precursor of modern Hinduism) had started during the preceding Bhauma-Kara period, and this development accelerated during the Somavamshi reign. The traditional accounts of Odisha credit the Somavamshis with making great contributions towards the propagation of Hinduism.
The Somavamshi kings were great temple builders according to the traditional accounts, but there is little inscriptional evidence to confirm this belief. The legendary chronicle Madala Panji credits Yayati Keshari with building most of the temples in Bhubaneswar. The text seems to have combined the Somavanshi rulers Yayati I and Yayati II into "Yayati Keshari". Multiple temples, including the Mukteshvara Temple, Lingaraj Temple, and the Rajarani Temple, are dated to the Somavamshi period. However, Brahmeswara Temple is the only shrine that bears an inscription explicitly attributing its construction to the Somavamshis.
According to one legend, Yayati Keshari brought 10,000 Brahmins from Kanyakubja to his kingdom for an ashvamedha (horse sacrifice) ceremony.

## Inscriptions

A number of copper-plate inscriptions, and a smaller number of stone inscriptions, issued during the Somavamshi reign have been discovered, all of them in present-day Odisha. The copper-plate inscriptions are similar to those of the Śarabhapuriyas and the Panduvaṃśīs: each inscription is a set of three copper-plates.
The following inscriptions of the Somavamshis, all in Sanskrit language have been discovered:
| Find spot | Issuer | Issued at | Regnal Year |
| Gopalpur (near Loisingha) | Janmejaya I | Suvarnapura | 1 |
| Sonepur State (grant of village Vakratentali) | Janmejaya I | Suvarnapura | 3 |
| Patna (Patnagarh) | Janmejaya I | Murasima | 6 |
| Patna (Patnagarh) | Janmejaya I | | 6 |
| Kalibhana | Janmejaya I | Murasima | 6 |
| Satalma | Janmejaya I | Murasima | 8 |
| Gopalpur (near Loisingha) | Janmejaya I | Suvarnapura | 10 |
| Gopalpur (near Loisingha) | Janmejaya I | Murasima-kataka | 12 |
| Sonepur | Janmejaya I | Arama | 17 |
| Gaintala | Janmejaya I | Arama | 17 |
| Unknown (now at Sambalpur University Museum) | Janmejaya I's feudatory | | 24 |
| Chaudwar | Janmejaya I | Arama | 31 |
| Kalibhana | Janmejaya I | Suvarnapura | 34 |
| Deogaon | Janmejaya I's feudatory Mugdhagondaladeva | | |
| Unknown (now at Orissa Museum) | Yayati I | Vinitapura | 4 |
| Patna (Patnagarh) | Yayati I | Vinitapura | 8 |
| Cuttack | Yayati I | Vinitapura | 9 |
| Nibinna | Yayati I | Vinitapura | 15 |
| Patna (Patnagarh) | Yayati I | Yayatinagara | 24 |
| Patna (Patnagarh) | Yayati I | Yayatinagara | 28 |
| Cuttack | Bhimaratha | Yayatinagara | 3 |
| Kudopali | Bhimaratha's feudatory | Yayatinagara | 13 |
| Mahulapada or Mahulpara (near Khandapada) | Dharmaratha | Yayatinagara | 11 |
| Banapur (Banpur) | Indraratha (usurper) | Yayatinagara | 6 |
| Jetsinga-Dungri village boundary in former Bolangir district. | Yayati II | Suvarnapura | 3 |
| Balijhari (near Narasinghpur) | Uddyotakeshari | Yayatinagara | 4 |
| Lalatendu-Keshari cave, Khandagiri | Uddyotakeshari | | 5 |
| Unknown (later at Mahakosala Historical Society) | Uddyotakeshari | Kisarakella | 11 |
| Navamuni cave, Khandagiri | Uddyotakeshari | | 18 |
| Brahmeshvara Temple | Uddyotakeshari | | 18 |
| Sankhameri | Uddyotakeshari | | 4 |
| Mahada | Uddyotakeshari | | |
| Nuapatna | Janmejaya II | | 5 |
| Nuapatna | Yuvaraja Dharmaratha (prince) | | 5 (of Janamejaya II) |
| Ratnagiri | Karnadeva | Yayatinagara | 6 |
| Gandibeda or Gandhibedha (Surya image, now at Orissa Museum) | Karnadeva | | |
| Kamalpur | Karnadeva | | 4 |
| Kelga | Kumara Somesvaradeva (Somavamshi or Telugu Choda prince) | Suvarnapura | 1 |
Ranakesarin, who issued the Govindapur inscription, may have belonged to the Kesari (Somavamshi), but this cannot be confirmed in absence of any corroborating evidence.
The Lingaraja temple inscription of Viranarakesari has been wrongly ascribed to the Somavamshi reign. The name of the issuer was misread as "Viravarakesari", and it was suggested that he belonged to Kesari (Somavamshi) dynasty. However, Viranarakesari is actually the Ganga king Narasimha.

## Gallery

History of South Asia :
Outline
Palaeolithic (2,500,000–250,000 BC) Madrasian culture Soanian culture
Neolithic (10,800–3300 BC) Bhirrana culture (7570–6200 BC) Mehrgarh culture (7000–3300 BC) Edakkal culture (5000–3000 BC)
Chalcolithic (3500–1500 BC) Anarta tradition (c. 3950–1900 BC) Ahar-Banas culture (3000–1500 BC) Pandu culture (1600–750 BC) Malwa culture (1600–1300 BC) Jorwe culture (1400–700 BC)
Bronze Age (3300–1300 BC) Indus Valley Civilisation(3300–1300 BC)  – Early Harappan culture(3300–2600 BC)  – Mature Harappan culture(2600–1900 BC)  – Late Harappan culture(1900–1300 BC) Vedic Civilisation(2000–500 BC)  – Ochre Coloured Pottery culture(2000–1600 BC)  – Swat culture(1600–500 BC)
Iron Age (1500–200 BC) Vedic Civilisation(1500–500 BC)  – Janapadas (1500–600 BC)  – Black and Red ware culture(1300–1000 BC)  – Painted Grey Ware culture (1200–600 BC)  – Northern Black Polished Ware (700–200 BC) Pradyota dynasty (799–684 BC) Haryanka dynasty (684–424 BC) Three Crowned Kingdoms (c. 600 BC – AD 1600) Maha Janapadas (c. 600–300 BC) Achaemenid Empire (550–330 BC) Ror Dynasty (450 BC – 489 AD) Shaishunaga dynasty (424–345 BC) Nanda Empire (380–321 BC) Macedonian Empire (330–323 BC) Maurya Empire (321–184 BC) Seleucid India (312–303 BC) Sangam period (c. 300 BC – c. 300 AD) Pandya Empire (c. 300 BC – AD 1345) Chera Kingdom (c. 300 BC – AD 1102) Chola Empire (c. 300 BC – AD 1279) Pallava Empire (c. 250 AD – AD 800) Maha-Megha-Vahana Empire (c. 250 BC – c. AD 500) Parthian Empire (247 BC – AD 224)
Middle Kingdoms (230 BC – AD 1206) Satavahana Empire (230 BC – AD 220) Kuninda Kingdom (200 BC – AD 300) Mitra Dynasty (c. 150 – c. 50 BC) Shunga Empire (185–73 BC) Indo-Greek Kingdom (180 BC – AD 10) Kanva Empire (75–26 BC) Indo-Scythian Kingdom (50 BC – AD 400) Indo-Parthian Kingdom (AD 21 – c. 130) Western Satrap Empire (AD 35–405 ) Kushan Empire (AD 60–240) Bharshiva Dynasty (170–350) Nagas of Padmavati (210–340) Sasanian Empire (224–651) Indo-Sassanid Kingdom (230–360) Vakataka Empire (c. 250 – c. 500) Kalabhras Empire (c. 250 – c. 600) Gupta Empire (280–550) Kadamba Empire (345–525) Western Ganga Kingdom (350–1000) Kamarupa Kingdom (350–1100) Vishnukundina Empire (420–624) Maitraka Empire (475–767) Huna Kingdom (475–576) Rai Kingdom (489–632) Kabul Shahi Empire (c. 500 – 1026) Chalukya Empire (543–753) Maukhari Empire (c. 550 – c. 700) Harsha Empire (606–647) Tibetan Empire (618–841) Eastern Chalukya Kingdom (624–1075) Rashidun Caliphate (632–661) Gurjara-Pratihara Empire (650–1036) Umayyad Caliphate (661–750) Mallabhum kingdom (694–1947) Bhauma-Kara Kingdom (736–916) Pala Empire (750–1174) Rashtrakuta Empire (753–982) Paramara Kingdom (800–1327) Yadava Empire (850–1334) Somavamshi Kingdom (882–1110) Chaulukya Kingdom (942–1244) Western Chalukya Empire (973–1189) Lohara Kingdom (1003–1320) Hoysala Empire (1040–1347) Sena Empire (1070–1230) Eastern Ganga Empire (1078–1434) Kakatiya Kingdom (1083–1323) Zamorin Kingdom (1102–1766) Kalachuris of Tripuri (675–1210) Kalachuris of Kalyani (1156–1184) Chutiya Kingdom (1187–1673) Deva Kingdom (c. 1200 – c. 1300)
Late medieval period (1206–1526) Ghaznavid Dynasty (977–1186) Ghurid Dynasty (1170–1206) Delhi Sultanate (1206–1526)  – Mamluk Sultanate (1206–1290)  – Khalji Sultanate (1290–1320)  – Tughlaq Sultanate (1320–1414)  – Sayyid Sultanate (1414–1451)  – Lodi Sultanate (1451–1526) Ahom Kingdom (1228–1826) Chitradurga Kingdom (1300–1779) Reddy Kingdom (1325–1448) Vijayanagara Empire (1336–1646) Bengal Sultanate (1352–1576) Garhwal Kingdom (1358–1803) Mysore Kingdom (1399–1947) Gajapati Empire (1434–1541) Ladakh Kingdom (1470–1842) Deccan sultanates (1490–1596)  – Ahmadnagar Sultanate (1490–1636)  – Berar sultanate (1490–1574)  – Bidar Sultanate (1492–1619)  – Bijapur Sultanate (1492–1686)  – Golkonda Sultanate (1518–1687) Keladi Kingdom (1499–1763) Koch Kingdom (1515–1947)
Early modern period (1526–1858) Mughal Empire (1526–1858) Sur Empire (1540–1556) Madurai Kingdom (1529–1736) Thanjavur Kingdom (1532–1673) Bhoi dynasty (1541–1804) Bengal Subah (1576–1757) Marava Kingdom (1600–1750) Sikkim Kingdom (1642–1975) Thondaiman Kingdom (1650–1948) Maratha Empire (1674–1818) Sikh Confederacy (1707–1799) Travancore Kingdom (1729–1947) Sikh Empire (1799–1849)
Colonial states (1510–1961) Portuguese India (1510–1961) Dutch India (1605–1825) Danish India (1620–1869) French India (1759–1954) Company Raj (1757–1858) British Raj (1858–1947) :
National historiesAfghanistanBangladeshBhutanIndiaMaldivesNepalPakistanSri Lanka :
Regional historiesAssamBalochistanBengalBiharGujaratHimachal PradeshKabulKarnatakaKashmirKhyber PakhtunkhwaRajasthanMaharashtraUttar PradeshPunjabOdishaSindhSouth IndiaTamil NaduTibet :
Specialised historiesAgricultureArchitectureCoinageDemographicsDynastiesEconomyEducationIndologyInfluence on Southeast AsiaLanguageLiteratureMaritimeMetallurgyMilitaryPartition of IndiaPakistan studiesPhilosophyPhysical cultureReligionScience and technologyTimeline :
vte :
* Mukteswar Temple
* Mukteshwar temple arched gateway view
* The Arched Gateway to the Mukteswara Temple
* Mukteswar temple Sikhara
* Rajarani Temple
* Lingaraj Temple Complex