Матарам
To the southeast of Sumatra, West Java was ruled by the Sunda Kingdom after the fall of the Tarumanagara, while Central and Eastern Java were dominated by a myriad of competing agrarian kingdoms including the Shailendra dynasty, Medang Kingdom, Kediri Kingdom, Singhasari, and Majapahit. In the 8th and 9th centuries, the Sailendra dynasty that ruled the Mataram kingdom built numbers of massive monuments in Central Java, including Sewu and Borobudur Buddhist temples.