script in Sanskrit, the Kalasan temple was erected by the will of Guru Sang Raja Sailendravamçatilaka (the teacher of the ornament of Sailendra family), who persuaded Panangkaran (Sanjaya's successor) to construct a holy building for the goddess (boddhisattvadevi) Tara and build a vihara (monastery) for Buddhist monks from the Shailendra realm. Panangkaran also awarded Kalaça village to a sangha (Buddhist monastic community). The temple connected to this inscription is the Kalasan temple that housed the image of Tara, and the nearby Sari temple that was probably functioned as the monastery. Panangkaran was also responsible for the construction of Abhayagiri Vihara, connected to the present-day of Ratu Boko. This hilltop compound was actually not a religious structure; consist of series of gates, ramparts, fortified walls, dry moats, walled enclosure, terraces and building bases. This site displays attributes of an occupation or settlement site, although its precise functions is unknown. This led to a suggestion that this compound probably was served as the palace. Initially it was likely intended as a secluded hilltop Buddhist monastery, as mentioned in the Abhayagiri Vihara inscription. However, later it seems to be converted to become a fortified palace or a citadel, which evidence in the remnant of defensive structures. King Panangkaran probably also responsible to the conception and laid the foundation for the construction of grand Manjusrigrha temple, as mentioned in Manjusrigrha inscription dated 792. The king, however, never saw the completion of this grand temple complex, as it finished in 792, long after his death probably around 780. This massive temple complex with total of 249 structures was the grandest of its time, and probably served as the official state's temple that conducted important stately religious ceremonies. The great conqueror There are some reports that naval Javanese raiders invaded Tran-nam in 767, Champa in 774, and Champa again in 787. The successor of Panangkaran was Dharanindra (r. 780–800) or commonly known as King Indra. He was mentioned in Kelurak inscription (dated 782) in his formal reign name Sri Sanggrama Dhananjaya. In this inscription, he was hailed as Wairiwarawiramardana or "the slayer of courageous enemies". The similar title also found in Ligor B inscription discovered in Southern Thailand Malay Peninsula; Sarwwarimadawimathana, which suggest it referred to the same person. Dharanindra seems to be a valiant and warlike character, as he embarked on military naval expedition overseas and has brought Shailendras' control on Ligor in Malay Peninsula.