Ratu Boko site actually is not temple, but the remnants of an empire. Ratu Boko temple often called Kraton Ratu Boko. Called Ratu Boko Palace, as the king of Ratu Boko and had daughter Lara 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 Sailendra dynasty, later taken over by the king of Mataram Hindu. The transition resulted in building owner Kraton Boko influenced by Buddhism and Hinduism.
Ratu Boko temple was discovered by Dutch archaeologist named H.J. De Graaf in 17th century AD. 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 Ratoe 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 stone pillar with animal's picture, such as horses, elephants and others.
At Ratu Boko site was found a stone inscription dated 792 AD, called Inscription Abhayagiriwihara. Fill inscription underlying assumption that 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 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 occupying wide area, consists of several groups of buildings and mostly still broken.