In the 930s, the court was shifted to East Java by Mpu Sindok, who established the Isyana Dynasty. An eruption of Mount Merapi volcano, located north of Prambanan in central Java, or a power struggle probably caused the shift. That marked the beginning of the decline of the temple. It was soon abandoned and began to deteriorate.