 Around the 8th century the Sailendra dynasty rose in Kedu Plain and become the patron of Mahayana Buddhism.This ancient kingdom built monuments such as the 9th century Borobudur and Prambanan in central Java.Around the 10th century the centre of power shifted from central to eastern Java.