After the move of the capital to eastern Java circa the 11th century, the temple was neglected. For centuries later, it fell into disrepair, buried under Mount Merapi volcanic debris and shaken by earthquakes. The temple collapsed in about 1600s due to a massive earthquake.