Mataram Kingdoms: The Old Courts of Central Java
Mataram Kingdoms: the early courts of Java
The Mataram kingdoms were a succession of courts in Java, not one unchanging state with a fixed capital and boundary. The early kingdom, also called Medang, flourished from the eighth century in Central Java, built or sponsored temples such as Borobudur and Prambanan, and moved its centre to East Java in the tenth century before breaking up in the early eleventh. The name therefore connects a landscape of court centres and sacred building, not a single ruin that tells the whole story.
For a visitor, the useful distinction is between the kingdom’s history and the monuments that remain. The stone complexes make the period tangible, while carved inscriptions supply names, dates and grants. Read the places as the work of several communities and courts over generations, rather than as a fixed pair of rival dynasties or a finished national history.
What “Mataram” and “Medang” mean in this history
“Mataram” is the familiar label for the early kingdom associated with Central Java. Inscriptions found in both Central and East Java use the name Medang, and the polity is often called Medang or Medang-Mataram. Mataram works well as the broad historical name, and Medang as the name the court used for itself.
The plural “kingdoms” reflects a history that spans many reigns and changing centres rather than a run of separate modern-style states. Royal authority shows itself through dated inscriptions, religious foundations, grants and the ability to organise labour and materials on a large scale, while the outer edges of that authority shifted from reign to reign.
The story conventionally begins with the Canggal inscription of 732, a Sanskrit text in Pallava script found at the Gunung Wukir temple complex in Magelang. It tells how King Sanjaya set up a lingga, the emblem of Shiva, on a hill, and later kings looked back to Sanjaya as the founder of their line. Kings of the Sailendra family, patrons of Buddhism, rose to prominence in the late eighth century, and the Kalasan inscription of 778 records the founding of a Buddhist temple at Kalasan.
Central Java’s courts and monumental building
From the eighth through the tenth centuries, Central Java became the setting for substantial Buddhist and Hindu religious architecture. Borobudur is a monumental Buddhist complex built in stages and arranged as a stepped, sculpted structure. Prambanan is a Hindu temple compound whose tall central shrines give it a different profile and ritual setting. They are not two versions of the same monument: their layouts, images and religious programmes express distinct traditions that existed in the same broad historical landscape.
Other sites help prevent the history from shrinking to those two famous names. The temple compounds at Sewu, Kalasan and Plaosan show the range of Buddhist architecture and patronage in the region. The Prambanan plain contains multiple temple groups, not one isolated building. At each place, the relationship between the main sanctuary, subsidiary structures, sculpture and surrounding landscape tells a different part of the story. A visit focused only on the largest silhouette can miss how complexes were organised and how much remains fragmentary.
These buildings required more than artistic skill. A royal foundation meant selecting a site, arranging stone, coordinating skilled work, and maintaining a sacred place and its associated resources. Grants of land and revenue to support religious foundations show that monuments belonged to wider systems of patronage.
The landscape also matters. Central Java’s fertile plains, river systems and volcanic setting shaped where people lived and farmed, while the uplands and routes between settlements connected distinct localities. It is tempting to explain the monuments as the direct expression of a single political centre. Yet the region was a broader zone in which more than one court, religious community and authority could matter. The monuments should be compared as neighbours within a changing region, not forced into a single master plan.
How Buddhist and Hindu traditions fit together
The Mataram period saw Buddhist and Hindu courts meet. That framing works only if it does not imply that every community belonged neatly to one camp or that royal affiliation stayed constant. The surviving buildings show support for Buddhist and Hindu institutions within the same broad Central Javanese era, and temples of both traditions stand within sight of each other on the Prambanan plain.
At Borobudur, the monument’s terraces, reliefs and Buddha images guide the visitor through a deliberately ordered sacred environment. At Prambanan, the prominent shrines and sculpted narratives frame a different sacred programme. The contrast helps explain why these sites should not be treated as interchangeable stops on a generic “temple day”. Someone interested in sculpture, relief sequences and Buddhist cosmology will spend attention differently from a visitor comparing tall sanctuaries, Hindu iconography and the spatial arrangement of the Prambanan compound.
The relationship between the ruling houses is still debated. A familiar account divides the court into a Hindu line descended from Sanjaya and the Buddhist Sailendra family, and tells how the two were joined when Rakai Pikatan married the Sailendra princess Pramodawardhani in the ninth century. Others read the same names as a single dynasty whose kings patronised both religions.
A temple shows that a patron could mobilise resources for a particular religious foundation; it does not by itself tell a succession story. Likewise, a ruler named in an inscription may have shared Java with neighbouring courts whose relations with him are now hard to see.
Inscriptions and the names of kings
Stone and copper inscriptions are among the most useful texts for early Java because they preserve names, dates, titles, grants and ceremonial acts. They are formal documents rather than neutral chronicles. A grant inscription may explain the purpose of a privilege or foundation and identify people or places important to that act. It usually does not set out the full background, opposition or consequences in the way a modern historical narrative might.
When an inscription is dated, it can anchor a building or political event to a known point in time. The Canggal stone of 732 and the Kalasan inscription of 778 are early examples. Later kings issued long series of charters, and the reigns of the tenth-century rulers are known mainly from such grants.
Kings often appear under a title as well as a personal name, such as Rakai Pikatan or Dyah Balitung, and lists of earlier rulers drawn up by later kings help to put them in order. Matching those lists with the dated charters is how the sequence of reigns has been pieced together.
Why the court tradition shifted east
In 929, under Mpu Sindok, the centre of the Medang court appears in East Java, and his charters from that year onward come from the eastern part of the island. He is counted as the first king of the Isyana line. The move is often called a shift of the kingdom from Central to East Java, but it did not mean that an entire population relocated in one event.
Explanations for the shift have included political pressures, environmental disruption and the practical advantages of a new location. Natural disaster, political trouble and threats from rival powers have all been proposed as causes, and no single explanation has been agreed. The important point for orientation is that Central Java’s monumental phase was not the end of the political tradition.
The eastern court appears in a different setting of rivers, settlements and regional connections. Rulers of the Isyana line governed from there until the early eleventh century, when the kingdom broke apart and Airlangga later emerged as the leading successor in East Java. Java’s political history therefore continued long after the great Central Javanese temples were built. For a modern route, this distinction prevents a common mistake: the Mataram label belongs to early Java’s history, while today’s city named Mataram is on Lombok. The modern city and the ancient Javanese courts are separate subjects.
The name Mataram returned centuries later, when a new kingdom of that name arose in the interior of Central Java. Its best-known ruler, Sultan Agung, extended its power over Central and East Java in the early seventeenth century and twice sent armies against the Dutch at Batavia, in 1628 and 1629. That later kingdom is a separate state that took up an old and honoured name.
What the monuments can and cannot tell you
A temple is both a work of architecture and a surviving piece of the past. Its plan can show how builders organised sacred space; its reliefs and images can reveal religious narratives and artistic choices; its location can prompt questions about water, settlement and movement. When a dated inscription belongs to a temple, the monument can be placed in a particular reign; many temples have none.
Restoration also shapes what a visitor sees. A standing structure may include stones reassembled after damage, while other parts remain collapsed or incomplete. The visible arrangement communicates scale and craft, but it is not necessarily a perfect snapshot of the original site in one exact year. This is especially important when comparing monuments: one may appear more complete because of its restoration history, not because it was more important in its own period.
For Borobudur, move slowly enough to notice that the monument is designed as a sequence rather than simply a summit viewpoint. For Prambanan, give attention to the central shrines and the wider compound, rather than treating one tower as the entirety of the site. Access arrangements can change, so do not build a tight day around an assumed route through either complex.
The scale of these places can also distort historical judgement. A large monument does not automatically prove that one ruler controlled all Java, and a smaller surviving temple does not mean its patron or community was insignificant. What survives is shaped by construction materials, later use, damage, repair and discovery.
Planning a history-focused visit
Choose the question that interests you before choosing the stops. If you want to compare Buddhist and Hindu monumental architecture, set aside attention for both Borobudur and Prambanan and avoid treating the journey between them as empty time. If you are more interested in how a religious compound was organised, spend longer within one complex and compare its central structure with its surrounding buildings. If your main interest is political history, inscriptions and museum interpretation will matter as much as dramatic views.
Do not assume that visiting the two best-known complexes explains the whole Mataram period. Sewu and other nearby temple groups widen the picture of Central Java’s sacred landscape; the East Javanese material adds the later phase. A short visit can still be coherent if it has one clear question, while an ambitious checklist may leave too little time to understand any site. Select depth or breadth deliberately.
Current entry conditions, restoration work and visitor routes are operational details, not timeless facts about the kingdom. Check what applies to the specific site and date before setting a sequence, and leave room for the time needed to move between separate complexes. If a site is partially restricted, the historical question can still be pursued through the parts that are open and through on-site interpretation. Do not assume every structure can be entered or viewed from the same angle.
If your journey continues east, remember that the modern city of Mataram is the capital of Lombok; that contemporary city has no connection with the ancient Javanese kingdoms.
Questions about the Mataram kingdoms
Were Mataram and Medang the same kingdom?
Yes, broadly. Medang is the name used in the kingdom’s own inscriptions, while Mataram is the more familiar historical name for the same early Javanese court tradition.
Did one dynasty replace another at Mataram?
The relationship between the Sanjaya line and the Sailendra family is still debated. In the tenth century Mpu Sindok began a new line, the Isyana, after the court moved east.
Why are Borobudur and Prambanan associated with the same period?
Both belong to Central Java’s major monumental building era, though they represent distinct Buddhist and Hindu programmes. Their proximity points to the region’s varied religious patronage, not to one coordinated project.
Did the Mataram kingdom move to East Java?
Yes. From 929, under Mpu Sindok, the court was based in East Java, where it lasted until the kingdom broke up in the early eleventh century.
Related guides: boedi oetomo, pejanggik kingdom, kongres perempuan indonesia 1928, Sultan Agung: The Mataram Ruler Who Pushed Java's Borders, The Siege of Batavia in 1628: Mataram Against the VOC, Indonesian History: Kingdoms, Empires and Independence.
