Career
His name was revealed in the AD 732 Sanskrit Canggal inscription carved in stone found at the foot of Ukir (or Wukir) hill (about 340 m (1,120 ft) high) on the southern Kedu Plain in Central Java. Another recorded source of Sanjaya"s history and his successors was found in the Balitung charter. Balitung mentioned what it is called "the builders of keraton", starting from Rakai Mataram (Sanjaya) followed by the Maharaja Rakai Panangkaran, Panunggalan, Warak, Garung, Rakai Pikatan, Kayuwangi, Watuhumalang and Watukura (which is Balitung himself).
Sanjaya was also known as Rakai Mataram with the additional title of "Sang Ratu Sanjaya".
The name of King Sanjaya Saga was also mentioned in the old romanticized and mythicized Sundanese manuscript of Carita Parahyangan (or Parahyangan Story) dated from later period, in which Sanjaya was portrayed as the Sundanese king hero of Galuh. Yet another historians argued that there was no such thing as Sanjaya dynasty, since there was only one dynasty mentioned in inscriptions called Sailendra that ruled central Java.
This theory was proposed by Poerbatjaraka and suggested that there was only one kingdom and one dynasty. The kingdom is called Medang with the capital in Mataram area, and the ruling dynasty is Sailendra.
He holds that Sanjaya and all of his offspring were belongs to Sailendra family that initially were Shivaist.
The lingam is sited on the noble island of Yawadwipa (Java), which the inscription describes as blessed with an abundance of rice and gold. Yawadwipa, the inscription says, had long been under the rule of the wise and virtuous king Sanna, but fell after his death into disunity. Amid a period of confusion Sanjaya, son of Sannaha (the sister of Sanna) ascended to the throne.
Sanjaya mastered holy scriptures, martial arts, and displayed military prowess.
After the conquest of neighboring areas his reign was peaceful and prosperous. This inscription describes Sanjaya as the legitimate successor of previous king of Java, Sanna.
After Sanna"s kingdom fell into disunity, Sanjaya reunite the kingdom and ascends to the throne. By erecting a Shivaic linggam he demonstrate the establishment of new authority, a new center of political power or court (kraton).
Sanjaya accession to his throne was proclaimed in the Ukir inscription.
An analysis to the inscription, which marked as a warning to vassal states and defeated kings, suggests that the Ukir hill was the first center of Mataram Kingdom. Sanjaya or his successor Panamkarana (AD 746 — 784) later moved the kraton between AD 742—755, as written in a Chinese annal.