It seems that the compound was converted as a hilltop fortress by a local landlord named Rakai Walaing Pu Kumbayoni.
The Ratu Boko complex consists of gopura (gates), paseban, pools, pendopo, pringgitan, kaputren (women's quarter), and a meditation caves.