Kalingga Kingdom: Early Hindu-Buddhist Power on Java’s North Coast
Kalingga Kingdom on the north coast of Central Java
The Kalingga kingdom was a Hindu-Buddhist realm on the north coast of Central Java, flourishing in the seventh century. Chinese records of the Tang period call it Ho-ling, or Heling, and they give most of what is said about it today: a walled capital, a trade in precious goods, a famous queen and a Buddhist monk who came from China to translate scripture. Its capital is placed somewhere between present-day Pekalongan and Jepara, along the stretch of coast that faces the Java Sea.
For a traveller, Kalingga is less a site than a starting point. It belongs to the centuries before Borobudur and Prambanan, and it helps explain why the north coast and the volcanic interior of Central Java became the setting for the island’s later kingdoms. The region as a whole is introduced in the Central Java Travel Guide: Temples, Towns and Volcanoes.
Ho-ling in the Tang records
The name Ho-ling comes from Chinese writing of the Tang dynasty. The Tang histories describe a kingdom on Java whose people protected their capital with walls, and they list what the land produced: tortoiseshell, gold and silver, rhinoceros horn and ivory. Those goods tell you a great deal about the place. Gold and silver, ivory and horn were luxury materials that travelled by sea, and a kingdom that offered them was part of the trade that linked Java with China and the wider ports of Asia.
The coastal setting makes sense of this. A north-coast court could reach the sea lanes directly, and its rulers could send goods and envoys along routes that ships already used. When you travel along the coast road between Pekalongan and Jepara today, you are moving through the same broad landscape: low plains, river mouths and the hills of the interior rising behind them.
Ho-ling is also the name you will meet in Indonesian writing about the kingdom, often beside the local form Kalingga. Both refer to the same seventh-century realm on Java’s northern shore.
Queen Shima and the bag of gold
The best-known figure of Kalingga is its queen. From 674 the kingdom was ruled by a woman whom Chinese writing names Hsi-mo, known in Indonesia as Ratu Shima. She is remembered for a rule that was fair but strict, and one story above all keeps her name alive. Her life and legend are told in more detail on the page about Ratu Shima.
In the story, a bag of gold was left lying in the open to test the honesty of the queen’s people. Nobody dared to pick it up, until the crown prince touched it with his foot. The queen wanted the harshest punishment for her own son. Her ministers pleaded for him, and in the end the punishment fell on the foot that had touched the gold.
The story is told across Indonesia as a lesson in justice: the law applies to the palace as firmly as to anyone else, and the ruler’s family has no special exemption. It gives Kalingga a human face that the surviving stones cannot.
Later tradition also gives the queen a long line of descendants. It names Sanjaya, the ruler who founded the Mataram kingdom in Central Java, as her great-grandson. That link joins Kalingga to the kingdoms that followed and is part of why the queen remains such a familiar figure in the history of the province.
A Chinese monk on Java
Kalingga was also a place of Buddhist learning. The Chinese pilgrim Yijing recorded that a monk named Huining travelled to Ho-ling in the mid-660s. There he worked with a Javanese monk named Jñānabhadra, and together they translated a Buddhist text.
The episode shows how connected seventh-century Java was. Monks, texts and ideas travelled the same sea routes as the gold and ivory in the Tang lists, and a scholar on Java could work side by side with a visitor from China. For anyone exploring the later Buddhist monuments of Central Java, it is a reminder that Buddhist teaching was present on the island well before the great stone temples were raised.
Inscriptions of early Central Java
Three stone inscriptions help a visitor picture the world around Kalingga and the kingdoms that came after it. None of them names Kalingga, but each comes from Central Java and each shows a court or a community using writing to honour the gods and record rulers.
Tuk Mas
The Tuk Mas inscription is carved on a large stone beside a spring at Dakawu in the Grabag area of Magelang Regency. It is written in Sanskrit in the Pallava script. Its verses praise the clear water of the spring and compare the stream that flows from it to the holy Ganges of India. Its subject, a sacred spring, suits the volcanic uplands of Magelang, where springs and streams run down from the mountains.
Sojomerto
The Sojomerto inscription comes from the village of Sojomerto in the Reban district of Batang Regency. It is written in Old Malay rather than Sanskrit. It opens with homage to Shiva and names a man called Dapunta Selendra, together with his father Santanu, his mother Bhadrawati and his wife Sampula. Dapunta Selendra has been seen as a forerunner of the Sailendra kings. The Sojomerto inscription page describes the stone and its setting.
Canggal
The Canggal inscription was found at Candi Gunung Wukir in Kadiluwih village, in the Salam district of Magelang, and is now kept at the National Museum of Indonesia in Jakarta. It is dated 732, written in Sanskrit in the Pallava script. It records that King Sanjaya set up a lingga, a symbol of Shiva, on a hill at a place called Kunjarakunja. It praises Java as an island rich in grain and gold, and tells of an earlier king, Sanna, whose death left the land in mourning, before Sanjaya came to the throne through Sannaha, Sanna’s sister.
Canggal brings the story forward from Queen Shima’s time into the eighth century. The kingdom of Sanjaya and his successors is described on the page about the Medang kingdom.
Where the capital lay
Kalingga’s capital is placed on the north coast between Pekalongan and Jepara. No palace ruins mark the spot, so there is no single building to visit. What you can see is the landscape the kingdom occupied: a coastal strip of rice fields, fishing harbours and river mouths, with the hills and volcanoes of the interior behind it.
For a living tradition of Java’s coastal communities, read about the Sedekah Laut sea alms ceremony, a thanksgiving offered to the sea.
Kalingga and the later temples
Kalingga comes before the monuments that most visitors associate with Central Java. Borobudur, the great Mahayana Buddhist monument, dates from the ninth century. Prambanan, built around 850, is dedicated to the Hindu trinity of Brahma, Vishnu and Shiva, with Shiva honoured in the main shrine. Both were raised long after Queen Shima’s reign.
Seen in that order, Kalingga is the opening chapter. A seventh-century coastal kingdom traded with China and welcomed Buddhist scholars; in the eighth century Sanjaya set up his lingga at Gunung Wukir; and in the ninth century the kingdoms of the interior built Borobudur and Prambanan. Visiting the temples with that sequence in mind gives them a deeper background.
The wider story of the province, from its early kings to its folk tales, is gathered on the page about Central Java History and Legends: Kingdoms, Stones and Folktales.
Planning a visit with Kalingga in mind
A trip shaped around Kalingga works best as a journey between places rather than a visit to one monument. Start on the north coast, between Pekalongan and Jepara, to see the setting of the kingdom and its harbours. Then travel inland to Magelang, where the Tuk Mas spring and Gunung Wukir show the inscriptions of early Central Java in their own surroundings, and where Borobudur is close by.
Before you go to an inscription site, check locally whether the stone is still in place and open to visitors. The Canggal stone has been moved to the National Museum of Indonesia in Jakarta, so a visit there can complete the picture.
Wherever you begin, the story of Queen Shima and the bag of gold is the easiest way into the period.
Questions readers ask about the Kalingga kingdom
Where was the Kalingga kingdom?
On the north coast of Central Java, with its capital somewhere between present-day Pekalongan and Jepara.
When did Queen Shima rule?
Her reign began in 674, in the seventh century.
What did Kalingga trade?
The Tang records list tortoiseshell, gold and silver, rhinoceros horn and ivory among the products of the land.
Can you visit a Kalingga temple?
No standing temple is linked to the kingdom. The inscriptions at Tuk Mas, Sojomerto and Canggal, and the later temples of Borobudur and Prambanan, show the world that grew up around and after it.
Quick answers
What was the Kalingga kingdom?
Kalingga was a Hindu-Buddhist kingdom on the north coast of Central Java that flourished in the seventh century. Chinese Tang records call it Ho-ling and describe a walled capital, a trade in precious goods, a famous queen and a Chinese Buddhist monk who came to translate scripture.
Where was the capital of Kalingga?
Its capital is placed somewhere between present-day Pekalongan and Jepara, on the coast facing the Java Sea. No palace ruins mark the spot, so there is no single building to visit; what can be seen is the coastal landscape the kingdom occupied.
What do Chinese records call Kalingga?
Chinese writing of the Tang period calls it Ho-ling, or Heling. In Indonesian writing the kingdom is often called Kalingga, and both names refer to the same seventh-century realm on Java's northern shore.
When did the Kalingga kingdom flourish?
The kingdom flourished in the seventh century. From 674 it was ruled by a queen named Hsi-mo in Chinese writing and Ratu Shima in Indonesia. It came centuries before Borobudur, which dates from the ninth century, and Prambanan, built around 850.
