Sign In

Canggal Inscription: Earliest Shiva Lingga Record of Java

The Canggal inscription and why it matters for Java’s history

The Canggal inscription is a stone inscription from the eighth century, found on Gunung Wukir in the Salam district of Magelang Regency, Central Java. Written in Sanskrit in the Pallava script, it records that King Sanjaya set up a lingga, the emblem of the god Shiva, on a hill. Its date, 732, makes it one of the key fixed points for the early history of the Ancient Mataram kingdom, and anyone trying to understand how Hindu kingship took root in Central Java soon meets it. The inscription belongs to the wider story of the Kedu plain around Magelang and Borobudur, and the stone itself is now kept in Jakarta rather than on the hill where it was found.

It is a rare case where a stone text ties a named ruler to a specific place and a specific act of worship, and that combination makes it a central reference point for the early history of the region. For a traveller, it also gives a reason to climb a quiet hill that few visitors to Magelang ever see.

Where the inscription was found

The inscription was found among the ruins of the temple on Gunung Wukir, a small hill near the hamlet of Canggal in Salam district. The temple is often called Candi Canggal after the hamlet, and the inscription takes its name from the same place. It is also known as the Gunung Wukir inscription or the Sanjaya inscription.

Today the temple survives only as ruins. The body and roof of the main temple are gone, and what remains is its base with a yoni, the stone basin into which a lingga was set. The lingga that once stood in it is no longer in place. A statue of Nandi, the bull that carries Shiva, has also been found at the site. Anyone visiting should expect a foundation, a yoni and scattered stones rather than a complete temple standing at full height.

The hill setting is worth noticing. Reaching the ruins means walking up the hill behind the hamlet, and the climb is part of what keeps the site so little known. The placement of a Shiva sanctuary on raised ground fits the words of the inscription itself, which speaks of the lingga being set up on a hill.

What the inscription says and how it is written

The inscription is written in Sanskrit, the classical language of Indian learning, using the Pallava script that was used for formal inscriptions in early Java. Its date is not written as a plain number but as a chronogram, a phrase whose words stand for numbers. Read in the usual way, it gives the year 654 of the Saka era, which corresponds to 732 in the common era.

In its content, the inscription records the founding of a lingga on a hill in a land called Kunjarakunja, at the command of King Sanjaya. It also looks back to an earlier king, Sanna, remembered as wise and just, whose death left the realm in confusion. Sanjaya is presented as the son of Sannaha, Sanna’s sister, and as the ruler who restored order after that period. The inscription therefore tells us both about a specific religious act and about how a new king set out his right to rule.

That focus on lineage is one of the most interesting things about the text. By naming his predecessor and his own mother, Sanjaya placed himself within a royal family rather than presenting himself as an outsider, and the founding of a Shiva sanctuary gave that claim a sacred setting.

Who was Sanjaya

Sanjaya is the king named in the inscription, and he is generally treated as the founder of the Ancient Mataram kingdom in Central Java. The Canggal inscription is often read as his declaration of himself as ruler of the kingdom in 732. His name appears again much later, at the head of a list of earlier kings in an inscription issued much later under King Balitung, which shows how later rulers looked back to him as the start of their line.

For a wider picture of the kingdom that grew from these beginnings, read about the later Medang kingdom and the dynasties that ruled from the Kedu plain. Visitors who want to understand the early kingdom should keep in mind that the inscription gives a firm year, while many other details of Sanjaya’s reign remain open to debate among historians of the period.

Shiva, the lingga and the early Hindu landscape of Java

The lingga is the emblem of Shiva, and in Java it was set into a yoni within a temple. The Canggal inscription shows that Shiva worship was supported by royal power in Central Java by the early eighth century. Placing a sanctuary on a hill, as Sanjaya did, joined the god, the king and the land in a single act.

Shiva worship did not stand alone. In the following decades, Buddhist monuments were also raised across Central Java, and the two traditions shared the same landscape. The Magelang area holds Hindu temples and Buddhist monuments within reach of each other, and this mixture is one of the defining features of early Javanese history. The Canggal inscription is an important record of the Hindu side of that picture.

For a visitor, the contrast is easy to feel. The modest ruins on Gunung Wukir stand at one end of the story, and the great Buddhist monument at Borobudur at another, and seeing both helps make sense of how varied the religious life of the region was.

Visiting Gunung Wukir and what to see

Gunung Wukir is a site for visitors who want to see the place where one of Java’s earliest dated inscriptions was found. The base of the main temple and its yoni are the central features, and the surrounding stones give a sense of the scale of the original complex. The site is quiet, and visitors who come with an interest in early history will find it rewarding, although the ruins are modest compared with the great monuments nearby.

The walk up from the hamlet is short but uphill, so take it at an easy pace. Once on top, the open ground around the ruins lets you see how the sanctuary was laid out on the hill. Respect the site by staying on the paths, not climbing on the stones and not removing any fragments; the remains are protected heritage, not props for a photograph.

The inscription itself is part of the collection of the National Museum of Indonesia in Jakarta, so the stone is not on display at the site. A visit to the hill is best combined with a note of where the text is kept, so that you can see the original if your travels take you through Jakarta.

Nearby sites for a day in Magelang

The Canggal site is one of many historic places in Magelang Regency, and the most rewarding way to see the region is to link several sites over a day or two. Borobudur Temple is the most famous monument in the area, and its Buddhist reliefs show a very different side of the same history. Mendut Temple and Pawon Temple lie close to Borobudur and are easy to add to the same visit. For another site with its own character, consider Ngawen Temple as well.

Visitors who want to understand the Canggal inscription in its wider setting can begin on Gunung Wukir, where the story of the kingdom’s founding is written in stone, and then move on to the later monuments. Seen in that order, the sites show how religious building across the region grew in scale and ambition after Sanjaya’s time.

Practical notes for visiting the inscription site

Plan for a slow visit. The site is best seen in daylight, and the path up the hill can be steep in places, so wear sensible shoes. Bring water and carry your rubbish out. Because the hill sits behind a village, be considerate of residents on the way up, keep noise down and ask before taking close photographs of people.

If you want to read the inscription itself, you will need to go to the National Museum in Jakarta. At the site, the value of the visit lies in standing where the stone was found and seeing the base and yoni of the sanctuary it describes.

Frequently asked questions about the Canggal inscription

What is the Canggal inscription? It is an eighth-century Sanskrit inscription in Pallava script, dated 654 Saka, or 732, that records a lingga set up on a hill at the order of King Sanjaya.

Where was it found? It was found among the temple ruins on Gunung Wukir, near the hamlet of Canggal in Salam district, Magelang Regency, Central Java.

Where is the inscription now? It is in the collection of the National Museum of Indonesia in Jakarta, so visitors to the temple site will not see the stone there.

What remains at the temple? The base of the main temple and its yoni survive, along with scattered stones; the lingga is no longer in place.

For more of the regency’s history and landscape, look at Candi Selogriyo and Gunung Tidar.

Back to top