Gelgel: Bali's Forgotten Capital

Precolonial states of IndonesiaPopulated places in BaliHistory of BaliHindu Buddhist states in Indonesia
4 min read

Bali's oldest mosque stands in the same village as the ancestral shrine of its Hindu royal dynasty. That single fact captures something essential about Gelgel, a place four kilometers south of Semarapura where contradictions have lived side by side for five hundred years. Today the village is known for its pottery and handwoven ceremonial songket cloth. Nothing in its quiet lanes suggests that this was once the capital of the most powerful kingdom in the eastern Indonesian archipelago, a realm whose rulers claimed descent from Javanese emperors and whose merchants traded cotton cloth as far as the Philippines.

Heirs of a Vanishing Empire

Gelgel's origin story reads like a cautionary tale about family rivalry. When the great Javanese kingdom of Majapahit conquered Bali, it installed a vassal dynasty at Samprangan, in present-day Gianyar. The first ruler, Sri Aji Kresna Kepakisan, had three sons. The eldest, Dalem Samprangan, inherited the throne but proved vain and incompetent. His youngest brother, Dalem Ketut, did what ambitious younger brothers have always done: he founded a new capital. Gelgel became that capital, and Samprangan faded into irrelevance. Dalem Ketut traveled to Majapahit itself to receive sacred heirlooms from King Hayam Wuruk, legitimizing his rule with the empire's blessing. When Majapahit collapsed in the early sixteenth century, swallowed by the Islamic kingdoms rising across Java, Gelgel stood as the last inheritor of its Hindu-Javanese civilization.

The Age of Baturenggong

Under Dalem Baturenggong, who likely reigned in the mid-sixteenth century, Gelgel reached its zenith. The king received at his court a Brahmin sage called Nirartha, a scholar who had fled the chaos engulfing Java. The relationship between patron and priest proved remarkably productive: Nirartha composed literary works that would shape Balinese culture for centuries, while Baturenggong extended his kingdom's reach across the sea to Lombok, western Sumbawa, and Blambangan on Java's eastern tip. European visitors confirmed the picture. Dutch sailors, arriving in 1597, found a densely populated island of more than 300,000 people with flourishing agriculture and a sophisticated textile trade. Balinese cotton cloth traveled east through trader networks to the Philippines, exchanged for pepper from the western archipelago. The Portuguese dispatched missionaries from Malacca in 1635, though their expedition came to nothing.

Unraveling from Within

Baturenggong's successors proved less fortunate. His son Dalem Bekung faced two aristocratic rebellions and a humiliating military defeat against the Javanese kingdom of Pasuruan. Although Bekung's brother Dalem Seganing restored stability, the dynasty's grip loosened under Dalem Di Made, the last true king of Gelgel. In his old age, Di Made lost power to his own chief minister, Anglurah Agung, who effectively imprisoned the king in his own palace. By 1656, the Dutch in Batavia were receiving letters from Anglurah Agung announcing himself as Bali's ruler. The usurper held power for decades, but he overreached. In 1686, Anglurah Agung fell in battle against a nobleman named Batulepang. Dewa Agung Jambe, a scion of the old royal line, seized the moment. Rather than restore the capital at Gelgel, he established a new seat three kilometers to the north, at Klungkung. The village that had ruled Bali for nearly two centuries became a backwater almost overnight.

A Village That Remembers

Gelgel's royal palace has vanished without a trace, but other structures endure. Pura Jero Agung, the ancestral shrine of the dynasty, still stands where the palace once was. Nearby, Pura Dasar serves as a lowland counterpart to Pura Besakih, the great mother temple on Mount Agung's slopes. The mosque built by Javanese retainers of the old kings remains the oldest on the island, a reminder that Gelgel's court was cosmopolitan enough to accommodate Muslim communities within a Hindu kingdom. Even after losing its capital status, Gelgel found itself drawn back into history's current. In 1908, its local lord attacked a column of Dutch colonial soldiers, an act of defiance that helped trigger the puputan at Klungkung Palace. On that day, April 18, 1908, the royal dynasty and their retainers marched out to face Dutch guns in a suicidal last stand, choosing death over subjugation.

Threads and Clay

Walk through Gelgel today and you encounter a village defined by craft, not conquest. Women weave songket cloth on backstrap looms, threading gold and silver into silk for ceremonies that have continued since the kingdom's height. Potters shape red clay into vessels using techniques passed down through generations. The work is quiet, rhythmic, and entirely at odds with the violent history embedded in the ground beneath their feet. Yet the village carries its past lightly. The temples receive their offerings. The looms keep their patterns. Five centuries of dynasty, conquest, betrayal, and colonial violence have settled into the landscape like sediment, invisible to the eye but present in every ceremony, every woven thread, every prayer offered at a shrine whose royal builders have long since turned to dust.

From the Air

Gelgel sits at 8.56S, 115.41E on Bali's southeastern coast, four kilometers south of the regency capital Semarapura. From the air, look for the compact village amid rice terraces between the coast and the inland hills. The nearest major airport is Ngurah Rai International (WADD) approximately 40 kilometers to the southwest. At lower altitudes, the temples of Pura Jero Agung and Pura Dasar are identifiable as cleared compounds within the village fabric. Mount Agung dominates the horizon to the northeast.