Launch app →

Human verified. Last updated by our editorial team on .

Oceania · Classical Hindu-Buddhist Java and Bali

Early Balinese kingdoms

882–1343

The early Balinese kingdoms were the states of Bali between the ninth and the fourteenth centuries: a series of courts on the island's fertile south-central plain, ruled by kings with Sanskrit titles and Old Balinese chanceries, who left the oldest written record in the Lesser Sunda Islands and built the rock-cut temples of Gunung Kawi.

Existed
882–1343
Shown on the map
AD 922–1009, 1046–1235, 1285–1343 (3 periods)
Peak area
8k km²
Region
Oceania

They matter because Bali is the one place where the classical culture of Java survived. When Islam and then the Dutch transformed Java, Bali kept the Old Javanese literature, the Shivaite-Buddhist temple, the court ritual and the script — much of it because of the connection these early kingdoms forged with Java, and much of it because Bali was never conquered until 1908.

At a glance

NameThe early Balinese kingdoms; the Warmadewa period
Dates882–1343 (the site draws AD 922–1009, 1046–1235, 1285–1343)
WhereBali, especially the south-central plain and the Pakerisan valley
CapitalShifting royal centres; none securely located
DynastyThe Warmadewa, from the tenth century
ReligionShivaite-Buddhist, with ancestor worship and rock-cut royal temples
SocietySubak irrigation societies, temple networks, a written legal culture
EndConquered by Majapahit under Gajah Mada, 1343

What were the early Balinese kingdoms?

A sequence of courts rather than a single state. The inscriptions name kings and queens who ruled parts of the island from the ninth century, issued charters in Old Balinese and later Old Javanese, endowed temples and regulated irrigation; their authority was exercised through local lords and village assemblies, and their capitals have never been located with certainty.

What held the island together was not a state but a culture: the subak irrigation societies that manage the rice terraces, the temple networks that link villages in a hierarchy, and a written legal tradition that the charters record. Bali's kingdoms were small, but their administrative culture was unusually dense — which is why the island's records are so rich and its archaeology so thin.

What is the earliest evidence?

Two inscriptions. The Sukawana A I inscription, dated 804 Śaka — AD 882 — is the oldest known inscription from Bali, and it records a grant in the northern highlands. The Blanjong pillar at Sanur, dated 914, is the more famous: it carries a bilingual text, in Old Balinese and in Sanskrit, and it names a king, Sri Kesari Warmadewa.

Blanjong is often called Bali's oldest inscription.

The Blanjong pillar at Sanur, dated 914, the oldest Balinese inscription naming a king It is not — Sukawana predates it by thirty years — but it is the oldest that names a king and the oldest with a Sanskrit face, and that makes it the founding document of Balinese kingship. The pillar records a military expedition and a victory, and it is the first evidence that a ruler in Bali claimed the kind of universal authority that Indian political language described.

Who were the Warmadewa?

The dynasty that dominated Bali from the tenth century, and the one whose name appears in the genealogies. Its kings — Sri Kesari, Ugrasena, Tabanendra Warmadewa, Jayasingha, and others — ruled from the south-central plain, issued charters in Old Balinese, and built the rock-cut temples at Gunung Kawi.

The dynasty's importance is its connections. It married into the Javanese royal houses: Airlangga, the founder of Kahuripan, was the son of a Warmadewa king and a Javanese princess, and his brother ruled in Bali while he ruled in Java. That alliance made Bali part of the Javanese cultural world, and it is why Old Javanese replaced Old Balinese as the language of the island's charters in the eleventh century.

Who ruled?

Men and women. The charters record four ruling or issuing queens, including Sang Ratu Ājñādewī, who was reigning in 1016 — a fact that surprises readers who assume Southeast Asian courts were uniformly male-dominated, and one that is entirely documented. Royal women issued charters in their own names, endowed temples and held authority, and the Balinese system of descent and inheritance gave them a standing that the Javanese inscriptions rarely show.

That is one of the strongest findings of the recent epigraphic work, and it changes the picture of the early Balinese state: not a simple monarchy but a court in which royal women exercised power in their own right.

## What do the charters tell us about society?

That Bali was a society of small communities with written rules. The inscriptions record grants to villages and temples, the boundaries of land, the dues owed and remitted, the penalties for trespass, and the officials who witnessed the transaction. They name rice fields, irrigation channels, orchards, temples and the people who worked them — a level of detail that is rare in Southeast Asian epigraphy.

They also record conflict. Villagers disputed water, boundaries and status; temples competed for grants; local lords tried to extend their authority over their neighbours. The charters are the settlements of those disputes, and they show a society that governed itself through written law, ritual and negotiation long before any central state could impose its will.

What did they build?

The rock-cut temples of Gunung Kawi, in the Pakerisan valley near Tampaksiring. Eleven candi — five on the western bank, four on the eastern, and one separate — are carved into the cliff face as monumental façades, each about seven metres high, with chambers behind them. They are among the most impressive monuments of early Southeast Asia, and their purpose is debated.

The tradition identifies them as memorials to the Warmadewa kings and their families, and the labels carved beside two of them — haji lumah ing jalu ("the king who lies at the cock") and rwa nakira ("the two of his children") — support the idea of a royal funerary complex. But the attribution has been argued for a century: Goris, Kempers and Munandar have each proposed different identifications, and Coedès dated the complex to around 1200 rather than the eleventh century. The entry states the debate rather than choosing a side.

The rock-cut temples of Gunung Kawi in the Pakerisan valley
Gunung Kawi. Photo: Michael Gunther, CC BY-SA 4.0, via Wikimedia CommonsPhoto: Michael Gunther, CC BY-SA 4.0, via Wikimedia Commons

What was the state like?

Small, dense and decentralised. The charters — there are hundreds — record grants of land and rights to temples and villages, confirmations of local officials, and regulations of irrigation and trade. The subak, the irrigation society that manages water at the level of a rice terrace system, appears in the record and still functions today; the temples, from village temples to the great state temples, formed a hierarchy that mirrored and legitimised political authority.

The state's power was the power to grant religious status and tax exemption, and its administration was the administration of water and ritual. That is why Bali's records are so dense: every grant, every water right, every temple foundation was written down, and the island's archives — on stone, copper and palm leaf — are among the richest in Indonesia.

## How did Balinese kingship work?

Through ritual and descent rather than through bureaucracy. The king was the centre of a network of temples and the guarantor of the ritual order; his authority was expressed in inscriptions that granted status, in the monuments that housed his ancestors, and in the titles that linked him to the divine. The dewa-raja idea — the king as a divine figure, whose cremation releases his power — is documented in the Balinese tradition from an early date.

That is why the great monuments are funerary. Gunung Kawi, the rock-cut temples, the deified portraits: Balinese royal architecture is about death, ancestry and the continuity of the dynasty, not about administration or defence. The state's power was the power to make the cosmos hold together, and its monuments are the record of that claim.

What happened with Java?

First alliance, then conquest. The marriage of the Warmadewa to the Javanese royal house in the tenth century brought Old Javanese into the Balinese chancery; Airlangga's reign kept the two courts in the same family; and for two centuries Bali and Java shared a court culture. Then, in 1284, Kertanegara of Singhasari campaigned in Bali — the Nāgarakṛtāgama canto 42 records the conquest — and in 1343 Gajah Mada, the Majapahit minister, conquered the island again.

Coedès's summary of the aftermath is the best short account: Bali was "lost so completely" that its subsequent history is obscure, and it became "independent again" as Majapahit declined. The last ancient Balinese king is attested in 1337, six years before the conquest — a reminder that the "conquest" of 1343 was the end of a dynasty, not of a culture.

## What happened after 1343?

Majapahit's conquest installed a Javanese dynasty, and Bali became part of the empire's orbit — but the island kept its own institutions, and as Majapahit declined in the fifteenth century, the Balinese kingdoms reasserted themselves. The Gelgel dynasty, which ruled from the late fifteenth century, claimed descent from the Majapahit line and made Bali the centre of a small empire that included Blambangan in eastern Java and Lombok.

That is the bridge to the later Balinese kingdom on this site's map: the state that the Dutch conquered in 1908 was the heir of Gelgel, and Gelgel was the heir of the early kingdoms described here. The continuity is institutional — subak, temple networks, royal cremation, the script — even when the dynasty changes.

What is the legacy?

The survival of classical Java. Bali's courts preserved the Old Javanese literature — the kakawin, the Pararaton, the genealogies — that Java itself lost or transformed; its temples kept the Shivaite-Buddhist synthesis; its script, its ritual calendar, its shadow theatre and its music are the living descendants of the culture that Mataram and Majapahit created. When Javanese texts were recovered in the nineteenth century, many of them came from Bali.

The early kingdoms are the beginning of that continuity. Their charters are the oldest written record of Balinese society, their rock-cut temples are its first monuments, and their alliance with Java is the moment the island joined the classical world.

Common myths about the early Balinese kingdoms

MythWhat the evidence says
The Blanjong pillar is Bali's oldest inscriptionSukawana A I (882) predates it; Blanjong (914) is the oldest naming a king and the oldest with a Sanskrit text.
The Adhipati were a dynasty"Adhipati" is a title, not a dynasty name.
Bali was always isolated from JavaIt was allied to Java by marriage, shared its chancery language and court culture, and was conquered by Singhasari and Majapahit.
Only men ruledFour ruling or issuing queens are documented, including Sang Ratu Ājñādewī, reigning in 1016.
Gunung Kawi is securely dated and attributedIts attribution is debated between Goris, Kempers and Munandar, and Coedès dated it to about 1200.
The 1343 conquest ended Balinese cultureIt ended a dynasty; the culture survived, and preserved much of what Java lost.
Bali had no written administrationIts charters are among the richest in Indonesia, on stone, copper and palm leaf.
Subak is a recent institutionIt appears in the early charters and still functions today.

Timeline of the early Balinese kingdoms

YearEvent
882Sukawana A I inscription, the oldest from Bali
914Blanjong pillar at Sanur, naming Sri Kesari Warmadewa
10th centuryThe Warmadewa dynasty established
1016Sang Ratu Ājñādewī reigning
11th centuryOld Javanese replaces Old Balinese in the charters
c. 1200Coedès's date for Gunung Kawi
1284Kertanegara's campaign in Bali
1337Last ancient Balinese king attested
1343Gajah Mada conquers Bali for Majapahit

What the map shows next

At 1092 on the map the Balinese kingdoms are allied to Java, and Janggala is in the delta.

At 1343 on the map Majapahit has conquered Bali, and Singhasari is fifty years gone.

Common questions

What were the early Balinese kingdoms?
A sequence of courts on Bali between the ninth and fourteenth centuries, ruled by the Warmadewa and their successors.
What is the oldest inscription in Bali?
Sukawana A I, dated 882; the Blanjong pillar of 914 is the oldest naming a king.
Who was Sri Kesari Warmadewa?
The king named on the Blanjong pillar, the first Balinese ruler known by name.
Was Bali part of Java's empire?
It was allied by marriage and shared Java's court culture; Singhasari campaigned in 1284 and Majapahit conquered it in 1343.
Did women rule in Bali?
Yes: four ruling or issuing queens are documented, including Sang Ratu Ājñādewī in 1016.
What is Gunung Kawi?
A complex of eleven rock-cut temple façades in the Pakerisan valley, probably royal funerary monuments of the eleventh or twelfth century.
What language were the charters written in?
Old Balinese until the eleventh century, then Old Javanese.
What was the subak?
The irrigation society that manages water for rice terraces; it appears in the charters and still functions.
When did the early kingdoms end?
With the Majapahit conquest of 1343, though the last ancient king is attested in 1337.
What is their legacy?
The survival of classical Javanese culture in Bali — its literature, temples, script and ritual.

Sources

Every source below was consulted while writing this entry.

Every source below was consulted while writing this entry.

Primary and official sources

  1. The Sukawana A I inscription (882), in the Goris corpus.
  2. The Blanjong pillar (914), Old Balinese and Sanskrit text.
  3. The charters of the Warmadewa kings and queens, in Goris's Prasasti Bali (1954).
  4. The Langgahan charter (1337), via Wahyuni (2017).
  5. The Nāgarakṛtāgama canto 42, on the 1284 campaign.
  6. Balai Arkeologi Bali, on Gunung Kawi (archived pages).

Scholarship and reference works

  1. Goris, Prasasti Bali (1954), the corpus and its reign-groups.
  2. Ardika, on the Blanjong inscription.
  3. Hauser-Schäublin, on the Balinese temple and subak.
  4. Reuter, on Balinese kingship (cited generically; no open full text).
  5. Vickers, Bali: A Paradise Created.
  6. Coedès, The Indianized States of Southeast Asia.
  7. Kempers and Munandar, on Gunung Kawi's attribution.

Data sources for the map

  1. Cliopatria v0.12 (Seshat Global History Databank, CC BY 4.0).
  2. Historical Basemaps (GPL-3.0).

This entry was written from the sources above and last updated .

Text available under CC BY-SA 4.0: reuse it with a credit to The World Through Time and a link to this page.

Border geometry for the map itself comes from Cliopatria v0.12 (Seshat Global History Databank, CC-BY-4.0).

History in your inbox, once a week

A weekly email with new articles and glossary entries. Unsubscribe anytime. Privacy policy.

See the Early Balinese kingdoms in their world

Open the atlas at 1141 and every neighbour, rival and successor is on screen with it — then drag the slider and watch what happens next.

Open the map at 1141 →