The Bali Kingdom () was a series of Hindu-Buddhist kingdoms that once ruled some parts of the volcanic island of Bali, in Lesser Sunda Islands, Indonesia. With a history of native Balinese kingship spanning from the early 10th to early 20th centuries, Balinese kingdoms demonstrated sophisticated Balinese court culture where native elements of spirit and ancestral reverence combined with Hindu influences—adopted from India through ancient Java intermediary—flourished, enriched and shaped Balinese culture.

Because of its proximity and close cultural relations with the neighbouring island of Java during the Indonesian Hindu-Buddhist period, the history of the Bali Kingdom was often intertwined with and heavily influenced by its Javanese counterparts, from Mataram (c. 9th century) to the Majapahit empire in the 13th to 15th centuries. The culture, language, arts and architecture of the island was influenced by Java. Javanese influences and presences grew even stronger with the fall of the Majapahit empire in the late 15th century. After the empire fell to its Muslim vassal the Demak Sultanate, a number of Hindu Majapahit courtiers, nobles, priests, and artisans found refuge on the island of Bali. As a result, Bali became what historian Ramesh Chandra Majumdar describes as the last stronghold of Indo-Javanese culture and civilisation. The Bali Kingdom in the following centuries expanded its influence to neighboring islands and began to establish colonies; Gelgel Kingdom Bali, for example, expanded their influence and established a colony in the Blambangan region at the eastern tip of Java to the western part of the Sumbawa island, while Karangasem Kingdom established their colonial settlements in western parts of Lombok, and the Klungkung kingdom conquered Nusa Penida in a later period.

Since the mid-19th century, the colonial state of the Dutch East Indies began its involvement in Bali, as it launched its campaign against the Balinese minor kingdoms one by one. By the early 20th century, the Dutch had completed their conquest of Bali as these minor kingdoms fell under their control, either by force resulting in Puputan fighting followed by mass ritual suicide, or surrendering gracefully to the Dutch. Either way, despite some of these Balinese royal houses still surviving, these events ended a millennium of the native Balinese independent kingdoms, as the local government changed to Dutch colonial administration, and later to the provincial government of Bali within the Republic of Indonesia.

History

Prehistory Bali has been inhabited by humans since Paleolithic times (1 Million BCE to 200,000 BCE), testified by the finding of ancient tools such as hand axes in Sembiran and Trunyan villages in Bali,Bali Museum noticeArchaeology: Indonesian perspective Truman Simanjuntak p. 163 followed by the Mesolithic period (200,000–3,000 BCE). However, the ancestors of the current Balinese inhabitants reached the island around 3,000 to 600 BCE during the Neolithic period, characterised by rice-growing technology and speaking Austronesian languages. The Bronze Age period followed, from around 600 BCE to 800 CE.

Early kingdom

The historical period in Bali started in c. 8th century, marked by the discovery of inscribed Buddhist votive clay tablets. These Buddhist votive tablets, found in small clay stupa figurines called "stupikas", are the first known written inscriptions in Bali and date from around the 8th century CE. Such stupikas have been found in the regency of Gianyar, and the villages of Pejeng, Tatiapi, and Blahbatuh. The bell-shaped stupikas bear resemblances to the style of the 8th-century stupas of Central Javanese Buddhist art found in Borobudur and other Buddhist temples dating from that period, which suggested the Sailendra link to Buddhist pilgrims or inhabitants in the early history of Bali.

In the early 10th century, a king called Sri Kesari Warmadewa issued the Belanjong pillar inscription found near the southern strip of Sanur Beach. It is the oldest inscription found in Bali that names the ruler who issued it. The pillar is dated 914 CE according to the Indian Saka calendar. Three other inscriptions by Kesari are known in central Bali, which suggest conflict in the mountainous interior of the island. Sri Kesari is the first known ruler to bear the Warmadewa title, which was used by rulers for several generations before Javanese expansion.

It is not known precisely where the capital of the kingdom was during the 10th and 11th centuries, but the political, religious, and cultural centre of the kingdom may have been in the present-day Gianyar Regency, inferred from the concentration of archaeological finds in this area.A.J. Bernet Kempers (1991) Monumental Bali: Introduction to Balinese Archaeology & Guide to the Monuments. Berkeley, Singapore: Periplus Editions. p. 35-36 The stone cave temple and bathing place of Goa Gajah, near Ubud in Gianyar, was made around the same period. It shows a combination of Buddhist and Hindu Shivaite iconography. Several carvings of stupas, stupikas (small stupas), and images of Boddhisattvas suggest that the Warmadewa dynasty was a patron of Mahayana Buddhism. Nevertheless, Hinduism was also practised in Bali during this period.

Javanese ties

In the second half of the 10th century, Bali was ruled by King Udayana Warmadewa and his queen, Mahendradatta, a princess of the Isyana dynasty from East Java. Mahendradatta was the daughter of King Sri Makutawangsawarddhana and sister of King Dharmawangsa of Mataram kingdom. The presence of a Javanese queen in the Balinese court suggests that either Bali had allied with East Java, or Bali was Java's vassal; their marriage was a political arrangement to seal Bali as part of the East Javanese Mataram realm. The royal Balinese couple was the parents of the famous king of Java, Airlangga (1001–late 1040s). Airlangga's younger brothers Marakata and later Anak Wungçu rose to the Balinese throne.

The rock-cut candi shrine of Gunung Kawi in Tampaksiring was made around the same period. It demonstrates a similar temple style of Java during the late Mataram period. The Warmadewa dynasty continued to rule Bali well until the 12th century with the reigns of Jayasakti (1146–50) and Jayapangus (1178–81). Contacts with imperial China were also important during this period. Chinese coins called kepeng were widely in use in the Balinese economy. In the 12th century, King Jayapangus of northern Bali is known to have married a Chinese princess and has been immortalised through the Barong Landung art form as the effigy of the king and his Chinese consort.

After the Warmadewa dynasty, their descendant, and their link to the Javanese court, there is no continuous further detailed information found about the rulers of Bali. It seems that Bali had developed a new native dynasty quite independent from Java.

In the late 13th century, Bali once again appeared in Javanese sources. In 1284, the Javanese king Kertanegara launched a military offensive expedition against the Balinese ruler. According to the Javanese chronicle Deśavarṇana: "In Śaka 'bodies-sky-suns' (1206, AD 1284) he then sent emissaries to Bali to crush it, and before long its queen was overcome and duly brought as captive before the King" (42.1).Stuart Robson (transl.) (1995) Deśawarṇana (Nãgarakṛtagãma) by Mpu Prapanca. (Leiden: KITLV Press), p. 55 This expedition seems to have integrated Bali into Singhasari’s realm. However, after the Jayakatwang rebellion of Gelang-gelang in 1292 that led to the death of Kertanegara and the fall of Singhasari, Java was unable to assert their rule upon Bali, and once again Balinese rulers enjoyed their independence from Java.

The Javanese contacts led to a deep impact on the language of Bali which was impacted by the Kawi language, a style of Old Javanese. The language is still used in Bali though is rare.

Majapahit period

In East Java, Majapahit under the reign of queen regnant Tribhuwana Wijayatunggadewi and her able and ambitious Prime Minister Gajah Mada, saw the expansion of Majapahit armada into neighbouring islands in Indonesian archipelago including nearby Bali. According to Babad Arya Tabanan manuscript, in 1342 Majapahit troops led by Gajah Mada assisted by his general Arya Damar, the regent of Palembang, landed in Bali. After seven months of battles, Majapahit forces defeated the Balinese king in Bedulu (Bedahulu) in 1343. After the conquest of Bali, Majapahit distributed the governing authority of Bali among Arya Damar's younger brothers; Arya Kenceng, Arya Kutawandira, Arya Sentong and Arya Belog. Arya Kenceng led his brothers to govern Bali under Majapahit banner, he would become the ancestor of Balinese kings of Tabanan and Badung royal houses.

Canto 14 of the Nagarakretagama, composed during the reign of Hayam Wuruk in 1365, mentioned several places in Bali; Bedahulu and Lwa Gajah (identified as Goa Gajah) as places under Majapahit dominion. The Majapahit capital in Bali was established at Samprangan and later Gelgel. Following Hayam Wuruk's death in 1389, Majapahit entered a steady period of decline with conflict over succession, among other was Regreg war (1404 to 1406).

In 1468 Prince Kertabhumi rebelled against King Singhawikramawardhana and captured Trowulan. The usurped king moved the capital further inland to Daha (the former capital of Kadiri), effectively split Majapahit into two centres of powers; Trowulan and Daha. Singhawikramawardhana was succeeded by his son Ranawijaya in 1474, that ruled from Daha. To keep Majapahit influence and economic interest, Kertabhumi awarded Muslim merchant trading rights on the north coast of Java, an action which led to the prominence of Demak Sultanate in following decades. This policy increased Majapahit economy and influence, but weaken Hindu - Buddha's position as the main religion, as Islam began to spread faster and freely in Java. Hindu - Buddha followers' grievance later urged Ranawijaya to defeat Kertabumi.

In 1478, Ranawijaya's army under general Udara breached Trowulan defences and killed Kertabumi in his palace,Pararaton, p. 40, " .... bhre Kertabhumi ..... bhre prabhu sang mokta ring kadaton i saka sunyanora-yuganing-wong, 1400".See also: Hasan Djafar, Girindrawardhana, 1978, p. 50. Demak sent reinforcements under Sunan Ngudung, who later died in battle and was replaced by Sunan Kudus, but they came too late to save Kertabumi although they managed to repel the Ranawijaya's army. This event is mentioned in Jiwu and Petak inscription, where Ranawijaya claimed that he already defeated Kertabhumi and reunited Majapahit as one Kingdom.Poesponegoro & Notosusanto (1990), pp. 448–451. Ranawijaya ruled from 1474 to 1498 with the formal name Girindrawardhana, with Udara as his vice-regent. This event led to the war between Sultanate of Demak and Daha, since Demak ruler, Raden Patah, were the descendant of Kertabhumi.