In 1025, Srivijaya was attacked by the Chola kingdom of southern India. The reason for this attack is not clear. Srivijaya survived the attack, but it became weak. In 1288 Srivijaya was absorbed into another kingdom based in Java.