Nagarakretagama was written as a
puja sastra, a genre of Old Javanese literature of adoration and reverence, directed mainly to King
Hayam Wuruk. Prapanca did not shy away to express his admiration, even bordering somewhat a cult, since he often invoked a divine quality of the king and his royal family. Nevertheless, the work seems to be independent of court's patronage since Prapanca wrote them incognito after he retired from the court. One of the religious practices of the Majapahit royal family was the "royal walkabout". They visited cornerstones of the empire and paid homage to the ancestors of the king. The poem also describes the death of Hayam Wuruk's most trusted regent,
Gajah Mada. The Queen Grandmother Rajapatni had a special place in Prapanca's poem. In one stanza, the poem describes the Queen Grandmother as
chattra ning rat wisesa (the eminent protector of the world). Rajapatni was the progenitor of the Majapahit kingdom, because she was the daughter of Kertanegara, the last king of the
Singhasari kingdom, and she was also the wife of
Raden Wijaya, the founder of Majapahit. Thus she was seen as the protector of the world. The Queen Grandmother is said in the poem to embody the
Pramabhagavati;
Bhagavati is another name of
Prajnaparamita (the Goddess of Wisdom in
Mahayana). The poem portrays
Kertanegara as a staunch
Buddhist, described as "submissive at the Feet of the Illustrious
Shakya-Lion". Upon his death, the poem describes the deification of Kertanegara in three forms: a splendid
Jina, an
Ardhanarishvara, and an imposing
Shiva-
Buddha. Particularly for the Shiva–Buddha Deity, Prapanca praises him as "the honoured Illustrious Protector of Mountains, Protector of the protectorless. He is surely, Ruler over the rulers of the world". The Shiva–Buddha Deity is neither Shiva nor Buddha, but the Lord of the Mountains, or the Supreme God of the Realm. This religious belief is indigenous to the
Javanese people who combined the Deities of two religions,
Hinduism and
Buddhism, into the same God, the oneness of the
Dharma, as is written in the
Kakawin Sutasoma (see
Bhinneka Tunggal Ika). When Kertanegara was deified as Shiva–Buddha, he symbolised the collective powers of the God of the Realm. ==See also==