Origins and History
The legend of Roro Jonggrang (also spelled Loro Jonggrang, "the slender maiden") is a local Javanese etiological tale attached to the great Hindu temple complex of Prambanan, on the border of present-day Central Java and the Special Region of Yogyakarta. The monument itself dates to the 9th century CE, generally attributed to the era of the Mataram kingdom under rulers such as Rakai Pikatan and later Balitung, and was dedicated to Shiva. Inscriptions such as the Siwagrha inscription of 856 CE are often linked by scholars to the Shiva temple's consecration, although the identification is debated.
The story itself is not known from the ninth century. It appears to have developed in oral tradition after the Central Javanese court shifted east around the 10th century and the temples fell out of active use and were damaged by earthquakes and neglect. Later Javanese communities, no longer understanding the monument's original religious programme, explained its ruins through narrative. Versions were recorded in Javanese chronicle-style literature (babad) and in later Dutch colonial-era collections, and the tale was widely retold in Indonesian-language schoolbooks and popular media in the 20th century. Because the narrative is attached to physical places, it belongs to the genre of local legend, tying names, ruins and landscape to a story of conquest and magic.
The Story
In the common version, the kingdom of Prambanan (sometimes called Prambanan or Baka's realm) is ruled by King Prabu Baka, a giant or ogre-king. Neighbouring Pengging is ruled by a righteous king whose son, Bandung Bondowoso, is a gifted warrior with supernatural powers. Bandung leads an army against Prambanan and kills Baka in battle. Among the survivors he meets the king's daughter, Roro Jonggrang, famed for her beauty, and resolves to marry her.
Roro Jonggrang cannot refuse openly, since the man who killed her father holds her kingdom. Instead she sets two conditions: he must dig a deep well, called Sumur Jalatunda, and then build a thousand temples in a single night. Bandung accepts. For the well, he descends into it, and Roro Jonggrang has her people pile stones on him to bury him alive. Bandung, however, uses his power to escape and returns undefeated.
For the temples, Bandung calls upon spirits and supernatural beings (jinn or genies, in many tellings). As the night progresses, the temples rise at astonishing speed, and Roro Jonggrang realizes that he will succeed. She commands the women of the palace to pound rice with the pestle and mortar and to light fires in the east, so that roosters crow and the sky seems to glow with dawn. The spirits, believing day has arrived, flee, leaving the work unfinished at 999 temples.
Bandung learns of the trick and, enraged, curses Roro Jonggrang to become the thousandth statue. She is turned into stone, and she remains in the northern chamber of the main Shiva temple as the image of Durga Mahisasuramardini, known locally as Roro Jonggrang. The Sewu ("thousand") temple complex nearby is identified as the unfinished work.
Key Characters
Roro Jonggrang is the princess of Prambanan, a figure of beauty, intelligence and tragic defiance. Bandung Bondowoso is the prince of Pengging, a powerful warrior and sorcerer whose strength is matched by his coercive pride. Prabu Baka is Roro Jonggrang's father, the slain king, sometimes depicted as a giant. The spirits or genies who build the temples serve as the labour force and supernatural agents of the plot.
Symbolism and Themes
The legend turns on deception, coercion and the cost of conquest. Roro Jonggrang is a captive who has no legitimate way to refuse; her impossible conditions are an act of strategic resistance. Her trickery succeeds on its own terms, but the response of the conqueror shows the lethal power imbalance. The transformation into stone is a common mythic motif that fixes a moral event into the landscape, while the contrast between night and dawn, between spirits and roosters, encodes a world in which the supernatural yields to ordinary daily rhythm. The number 999 and the thousandth statue stress the theme of the almost-completed and the human price of ambition. Some readers have interpreted the tale as an allegory of political takeover, with Pengging's conquest of Prambanan echoing real power struggles in early Javanese history.
Cultural Significance
The legend has become an important part of the identity of the Prambanan area. Visitors to the Shiva temple are told that the statue of Durga in the north chamber is Roro Jonggrang herself, and women have traditionally prayed or made offerings to her. Local belief has long held that the tale explains the name of the monument and the arrangement of the surrounding temples. It is regularly taught to children in Indonesia as one of the best-known regional folktales, alongside stories such as Malin Kundang and Sangkuriang, and the temple complex, a UNESCO World Heritage Site, ties the legend to a global tourism context.
Legacy and Influence
The tale is the basis of the Ramayana Ballet performed in open-air at Prambanan, though the ballet's own subject is the Ramayana, and the legend has been adapted into wayang, ketoprak and other theatre, as well as comics, television, film and children's books. The story's themes of consent, female agency and political violence have invited modern reinterpretations, including feminist retellings that emphasise Roro Jonggrang's resistance. Place-names, souvenir crafts and public art around Yogyakarta draw on the tale, and the legend continues to shape how Indonesians and visitors read the monument.
Related Myths and Legends
Roro Jonggrang is often compared with other Indonesian etiological legends about places and stone transformations, such as Sangkuriang and the origin of Tangkuban Perahu (West Java), in which a man attempts to complete a task in one night and is thwarted by a false dawn, and Malin Kundang, whose protagonist is turned to stone. Similar motifs of impossible tasks and false dawn occur widely in world folklore, as in tales of the devil's bridge or the giant builder. The Durga Mahisasuramardini image itself connects the story to the Hindu mythology of the goddess who slays the buffalo demon.