RSS2.0

Medang Kingdom

Medang Kingdom


The Medang or Mataram Kingdom was a Hindu–Buddhist kingdom that flourished between the 8th and 10th centuries CE. It was based in Central Java, and later in East Java. Established by King Sanjaya, the founder of the Sanjaya dynasty, the kingdom was ruled by the Sailendra and Sanjaya families. By 850, the kingdom had become the dominant power in Java and was a serious rival to the hegemonic Srivijaya Empire.

Origin and formation

The earliest account of the Medang Kingdom is in the Canggal inscription, dated 732, discovered in Canggal village, southwest of the town of Magelang. This inscription, written in Sanskrit using the Pallava script, tells of the erection of a lingga (a symbol of Shiva) on the hill in the Kunjarakunja area, located on a noble island called Yawadwipa (Java) which was blessed with abundance of rice and gold. This inscription tells that Yawadwipa was ruled by King Sanna, whose long reign was marked by wisdom and virtue. After Sanna died, the kingdom fell into disunity. Sanjaya, the son of Sannaha (Sanna's sister) ascended to the throne. He conquered the areas around his kingdom, and his wise reign blessed his land with peace and prosperity for all of his subjects.

Sanna and Sanjaya are also described in the Carita Parahyangan, a book from a later period which mainly describes the history of Pasundan (the Sunda Kingdom). This book mentions that Sanna was defeated by Purbasora, King of Galuh, and retreated to Mount Merapi. Later, Sanjaya reclaimed Sanna's kingdom and ruled West Java, Central Java, East Java, and Bali. He also battled the Malayu and Keling (against their king, Sang Srivijaya).

The dual dynasties theory

Bosch in his book "Srivijaya, de Sailendravamsa en de Sanjayavamsa" (1952) suggested that king Sanjaya was the progenitor of the Sanjaya Dynasty, and there was two dynasties that ruled Central Java; the Buddhist Sailendra and the Shivaist Sanjaya dynasty. The inscription also states that Sanjaya was an ardent follower of Shaivism. From its founding in the early 8th century until 928, the kingdom was ruled by the Sanjaya dynasty. The first king was Sanjaya, who ruled in the Mataram region in the vicinity of modern Yogyakarta and Prambanan, and left the written records on the Canggal inscription. However, around the mid 8th century, the Sailendra dynasty emerged in Central Java and challenged Sanjaya domination in the region.

According to the Kalasan inscription, dated 778 CE and written in the Pranagari script in Sanskrit, the Kalasan temple was erected by the will of Guru Sang Raja Sailendravamçatilaka (the Jewel of the Sailendra family), who persuaded Panangkaran (Sanjaya's successor) to construct a holy building for the goddess (boddhisattvadevi) Tara and build a vihara (monastery) for Buddhist monks from the Sailendra realm. Panangkaran also awarded Kalaça village to a sangha (Buddhist monastic community).

The prevailing historical interpretation holds that the Sailendra dynasty co-existed next to the Sanjaya dynasty in Central Java, and much of the period was characterized by peaceful cooperation. The Sailendra, with their strong connections to Srivijaya, managed to gain control of Central Java and become overlords of the Rakai (local Javanese lords), including the Sanjayas, thus making the Sanjaya kings of Mataram their vassals. Little is known about the kingdom due to the dominance of the Sailendra, who during this period constructed Borobudur, a Buddhist monument. Samaratungga, the monarch of the Sailendra, tried to secure the Sailendra position in Java, cementing an alliance with the Sanjayas by arranging the marriage of his daughter Pramodhawardhani with Pikatan.

Around the middle of the 9th century, relations between the Sanjaya and the Sailendra deteriorated. In 852, the Sanjaya ruler, Pikatan, defeated Balaputra, the offspring of the Sailendra monarch Samaratunga and the princess Tara. This ended the Sailendra presence in Java; Balaputra retreated to the Srivijayan capital in Sumatra, where he became the paramount ruler. The Balaputra defeat and the victory of Pikatan was recorded in Shivagrha inscription dated 856, edicted by Rakai Kayuwangi, Pikatan's successor.
The single dynasty theory

However, this dual Sailendra—Sanjaya dynasties theory proposed by Bosch and De Casparis was opposed by some Indonesian historians in later period. An alternate theory, proposed by Poerbatjaraka, suggests there was only one kingdom and one dynasty, the kingdom called Medang, with the capital in the Mataram area (thus the name of the kingdom: "Medang i Bhumi Mataram"), and the ruling dynasty being the Sailendra.

This theory is supported with Boechari interpretation on Sojomerto inscription and Poerbatjaraka study on Carita Parahyangan manuscript, Poerbatjaraka holds that Sanjaya and all of his offspring belongs to the Sailendra family, which initially was Shivaist Hindu. However, according to Raja Sankhara inscription (now missing); Sanjaya's son, Panangkaran, converted to Mahāyāna Buddhism. And because of that conversion, the later series of Sailendra kings who ruled Medang become Mahāyāna Buddhists also and gave Buddhism royal patronage in Java until the end of Samaratungga's reign. The Shivaist Hindus regained royal patronage with the reign of Pikatan, which lasted until the end of the Medang Kingdom. During the reign of Kings Pikatan and Balitung, the royal Hindu Trimurti temple of Prambanan was built and expanded in the vicinity of Yogyakarta.

The capital

Most of the time, the court of the Medang Kingdom was located in Mataram, somewhere on the Prambanan Plain near modern Yogyakarta and Prambanan. However, during the reign of Rakai Pikatan, the court was moved to Mamrati. Later, in the reign of Balitung, the court moved again, this time to Poh Pitu. Unlike Mataram, historians have been unable to pinpoint the exact locations of Mamrati and Poh Pitu, although most historians agree that both were located in the Kedu Plain, somewhere around the modern Magelang or Temanggung regencies. Later, during the reign of Wawa, the court was moved back to the Mataram area.