Ratu Boko site actually is not a temple, but the remnants of an empire. This place often called Kraton Ratu Boko, as the king and He had a daughter named Rara Jonggrang. The word "Keraton" comes from the word Ka-ra-tu-an, which means the king's palace. Estimated Ratu Boko site was built in the 8th century AD by Buddhist Syailendra dynasty but later was taken over by the king of Mataram Hindu. The transition resulted in building owner of Kraton Boko influenced by Buddhism and Hinduism.
Ratu Boko temple was discovered in 1790 AD by Dutch archaeologist, named H.J. De Graaf. In 1790 Van Boeckholtz find again the ruins of ancient buildings. His discovery the site was published, thus attracting some scientists like Makenzie, Brumun, and Junghun, who did recording site in 1814. At the beginning of the 20th century, Ratu Boko site investigated by FDK Bosch. Research results reported in the article title Rate van Kraton Boko. When Mackenzie doing research, he found a statue depicting a male and female-headed god being embraced. And also among the stones found a stone pillar with the animal's picture, such as horses, elephants, and others.
Ratu Boko site was found stone inscription dated 792 AD, called Inscription Abhayagiriwihara. Ratu Boko temple was built by Rakai Panangkaran. Abhayagiriwihara inscription written using letters pranagari, which is one of the hallmark features of Buddhist inscriptions. In the inscription, it is mentioned that the king had ordered the construction Tejapurnama Panangkarana Abhayagiriwihara. The same name is also referred to as inscription Kalasa, Mantyasih inscriptions, and inscriptions Central Wanua III. According to experts, the word Abhaya means peace, Giri means mountain. Thus, Abhayagiriwihara means monastery built on a peaceful hill. In the reign of Rakai Walaing Kombayon Pu 898 years until 908, Abhayagiri Vihara renamed Walaing palace. Ratu Boko temple is occupying the wide area, consists of several groups of buildings and mostly still broken.