Sanjaya of Mataram
King Sanjaya of Mataram (AD 716 – 746) or in complete stylized name known as Rakai Mataram Sang Ratu Sanjaya (King Sanjaya Rakai (lord) of Mataram) was the founder of Mataram Kingdom during the eighth century. His name was revealed in the AD 732 Sanskrit Canggal inscription:87-88 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 is found in the Balitung charter and the Wanua Tengah III inscription. In the Mantyasih inscription, Balitung mentions what are 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).. Several inscriptions of Balitung's successor, Daksha, use a dating system based on the year of Sanjaya's accession, which L.-C. Damais has calculated as 638 Śaka (716 CE).
Sanjaya was also known as Rakai Mataram with the additional title of 'Sang Ratu Sanjaya'. The title rakai (from raka or rake meaning 'lord of') indicates any members of nobility from a king to a simple squire. 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.
Sanjaya or Sailendra dynasty
Bosch suggested that Sanjaya was the progenitor of the Sanjaya Dynasty, and there were two dynasties that ruled Central Java; the Buddhist Sailendra and the Shivaist Sanjaya dynasty. The inscription also states that Sanjaya was an ardent follower of Shaivism, The latter was forced to move eastward by Sanjaya as written in an old Chinese report, whom named Sanjaya as Chi-Yen.
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 association of Sailendra with Mahayana Buddhism began after the conversion of Raja Sankhara (Rakai Panaraban or Panangkaran) to Buddhism.
The builder of new kraton
According to Canggal inscription, Sanjaya commissioned the erection of a lingam (the symbol of Shiva) on the hill of Kunjarakunja. 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.:90
| Monarch of Medang Kingdom
- Coedès, George (1968). Walter F. Vella, ed. The Indianized States of Southeast Asia. trans.Susan Brown Cowing. University of Hawaii Press. ISBN 978-0-8248-0368-1.
- W. J. van der Meulen (1977). "In Search of "Ho-Ling"". Indonesia. 23: 87–112. doi:10.2307/3350886. Archived from the original (– Scholar search) on 2011-02-23.
- W. J. van der Meulen (1979). "King Sañjaya and His Successors". Indonesia. Indonesia, Vol. 28. 28 (28): 17–54. doi:10.2307/3350894. JSTOR 3350894. Archived from the original (– Scholar search) on 2007-10-14.
- Boechari, (2012). Melacak Sejarah Kuno Indonesia Lewat Prasasti. Jakarta: Kepustakaan Populer Gramedia. p. 469.
- R. Ng. Poerbatjaraka (1919). "De Batoe-toelis bij Buitenzorg". Tijdschrift voor Indische taal-, land-, en volkenkunde. 59: 380–417.
- Dr. Bosch, "Srivijaya, de Sailendravamsa en de Sanjayavamsa", 1952.
- Poerbatjaraka, 1958: 254–264
- Drs. R. Soekmono, (1973, 5th reprint edition in 1988). Pengantar Sejarah Kebudayaan Indonesia 2, 2nd ed. Yogyakarta: Penerbit Kanisius. p. 40. Check date values in: