古マタラム王国
Bosch, in his book "Sriwijaya, de Sailendrawamsa en de Sanjayawamsa" (1952), suggests that in the Medang Kingdom there were two dynasties, the Sanjaya dynasty and the Sailendra dynasty that equally ruled the kingdom. The Sanjaya lineage was established by Sri Sanjaya, the founder of the Medang Kingdom, who adhered to Shivaist Hinduism. The next Maharaja was Panangkaran, who, according to Bosch, was defeated by the Sailendras. Thus in Medang there were two dynasties: the Sanjayas ruled the northern parts of Java, while the Sailendras ruled in southern Java. The daughter of Sailendra Maharaja Samaratungga, named Pramodhawardhani, married Rakai Pikatan of Sanjaya, who succeeded his father-in-law's throne. As the result, the Sanjaya returned to power in Medang. Bosch assumed that the title "rakai" was a dynastic title. The list of Sanjaya kings recorded in the Mantyasih inscription according Bosch: