dispute with Pikatan, or was he already ruled in Suvarnadvipa (Sumatra). Either ways, it seems that Balaputra eventually ruled the Sumatran branch of Shailendra dynasty and enthroned in Srivijayan capital of Palembang. Historians argued that this was because Balaputra's mother—Tara, the queen consort of King Samaragrawira was the princess of Srivijaya, this rendered Balaputra as the heir of Srivijayan throne. Balaputra the Maharaja of Srivijaya later stated his claim as the rightful heir of Shailendra dynasty from Java, as proclaimed in Nalanda inscription dated 860. The Shivagrha inscription (dated 856) mentioned about a war challenging Pikatan's reign, the inscription, however, did not mention who was the enemy that challenged Pikatan's authority. The earlier historians suggest that it was Balaputradewa that rose against Pikatan, however, later historians suggest it was another enemy, argued by that time Balaputra already ruled in Srivijaya. The Shivagrha inscription only mentioned that the battle happened in a fortress on a hill protected by bulk of stone walls, this fortress hill is identified with Ratu Boko archaeological site. The eldest children of Pikatan and Pramodhawardhani was Rakai Gurunwangi Dyah Saladu. Eventually the revolt was successfully defeated by Pikatan's youngest son—the valiant Dyah Lokapala also known as Rakai Kayuwangi. As the reward for his heroic deed and bravery, the people and many of Pikatan's state advisors urged that Lokapala should be named as crown prince instead of Gurunwangi. Gurunwangi's loss of favour in succession—despite being the eldest sibling, has raised a question among scholars. It was previously thought that the name Rakai Gurunwangi Dyah Saladu refer to a female character (princess), although it is more likely that Gurunwangi was a prince. This revolt seems to have succeeded in taking over the capital in Mataram for a certain period. After defeating the usurper, Pikatan found that this bloodshed has made the capital in Mataram inauspicious, thus he moved the karaton (court) to Mamrati or Amrati located somewhere in Kedu Plain (Progo river valley), northwest from Mataram. Later Pikatan decided to abdicate his throne in favour of his youngest son Dyah Lokapala (r. 850–890). Rakai Pikatan retired, renounce worldly affairs and become a hermit named Sang Prabhu Jatiningrat. The event also marked with the consecrated ceremony of Shiva image in Prambanan main temple. Boechari suggests that the enemy that challenged Pikatan was Rakai Walaing pu Kumbhayoni, a powerful Shaivite landlord and also the branch of the ruling dynasty as he