![](https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgLQr4FGhR6Ig-It2u7UMlFTEslV138iACsOLPkhf3oKV8E6dSC49DDxmr3WiqJ7o3AsUa9sDeH72-M_dCoICm8t9gjnHbKc5nDKCPq5nsijQt0SRF6SFC6n_wM2RYeK-p5ZZYXq1M3ejoT/s200/Prambanan_Temples_indonesia_heritage.jpg)
In contrast, the Hindu-Buddhist kingdoms of central and eastern Java left extensive temples, buildings, and inscriptions. These monuments and artifacts show Indian culture had vast influence on the religion and state organizations of the Javan kingdoms. The central and eastern kingdoms relied on rice agriculture and had a complex hierarchy headed by a god-king. Inscriptions reveal that under the Sanjaya family the Hindu kingdom of Mataram flourished on the Dieng Plateau in the early 8th century. In the second half of the 8th century a new Buddhist kingdom under the Sailendra dynasty developed in the nearby Kedu Plain; Mataram declined as the Sailendra kingdom rose. The Sailendras built the massive temple monument of Borobudur in the mid-9th century.
Also by the mid-9th century, rulers claiming descent from King Sanjaya (ruled 732-778) of central Java founded a new kingdom of Mataram, whose rule extended from central to eastern Java. In the early 10th century, for unknown reasons, the kingdom’s center shifted to the east, where Hindu influence on the state weakened. First under Sindok (ruled 929-947) and later under Airlangga (ruled 1019-1042), who united the eastern kingdom with Bali, Mataram became increasingly interested in overseas trade. A period of division followed, after which the new kingdom of Singosari was founded on Java in 1222. Its founder and first ruler was Angrok, a commoner. Under the Buddhist king Kertanagara (ruled 1268-1292), Singosari controlled many of the Sumatran areas formerly ruled by Sri Vijaya. Kertanagara’s successor, Vijaya (ruled 1293-1309), repelled a Mongol invasion of Java and in 1293 founded Majapahit, the greatest Javanese empire. Majapahit, under Hayam Wuruk, claimed sovereignty over much of what is now Indonesia and Singapore and parts of Malaysia.