severed the link and proclaimed Cambodian independence from Java in 802. Samaragrawira was mentioned as the king of Java that married Tārā, daughter of Dharmasetu. He was mentioned as his other name Rakai Warak in Mantyasih inscription. Earlier historians, such as N. J. Krom, and Coedes, tend to equate Samaragrawira and Samaratungga as the same person. However, later historians such as Slamet Muljana equate Samaratungga with Rakai Garung, mentioned in Mantyasih inscription as the fifth monarch of Mataram kingdom. Which means Samaratungga was the successor of Samaragrawira. Samaratungga (r. 819–838) was credited for the completion of massive stone mandala, the grand monument of Borobudur (completed in 825). Samaratungga just like Samaragrawira, seems to be deeply influenced by peaceful Mahayana Buddhist beliefs and strive to become a pacifist and a benevolent ruler. His successor was Princess Pramodhawardhani that betrothed to Shaivite Rakai Pikatan, son of the influential Rakai Patapan, a landlord in Central Java. The political move that seems as an effort to secure peace and Shailendran rule on Java by reconciling the Mahayana Buddhist with Shaivite Hindus. The rule of Shaivite Rakai Pikatan (r. 838–850) and his Buddhist queen consort Pramodhawardhani marked the return of the Mataram Mataram court favour to Shaivite Hindus, instead of Mahayana Buddhism favoured by previous king Samaratungga. This is evident in the construction of grand Shivagrha temple compound in the Mataram capital, located only few hundred metres south from Manjusrigrha temple compound. Nevertheless, the inter-religious relations during Pikatan's reign seems to promote tolerance in the spirit of reconciliation. Their reign is credited to the construction and expansion of at least two of perwara temple and stupa in Plaosan complex, located east from Sewu (Manjusrigrha) temple. Plaosan temple with twin main temples is probably built and dated from an earlier period, probably started by Panangkaran, Samaragrawira or Samaratungga, but completed during Pikatan-Pramodhawardhani's reign. The divide Balaputra however, opposed the rule of Pikatan and Pramodhawardhani. The relations between Balaputra and Pramodhawardhani is interpreted differently by some historians. Older theory according to Bosch and De Casparis holds that Balaputra was the son of Samaratungga, which means he was the younger brother of Pramodhawardhani. Later historians such as Muljana on the other hand, argued that Balaputra was the son of Samaragrawira and the younger brother of Samaratungga, which means he was the uncle of Pramodhawardhani. It is not known whether Balaputra was expelled from Central Java because of succession