Cudamani Warmadewa

In 990 CE, King Dharmawangsa of Java launched a naval invasion against Srivijaya and attempted to capture the capital Kedah.

After sojourned for about two years in China, the envoy learned that his country has been attacked by She-po (Java) thus made him unable to return home.

In 992 the envoy from She-po (Java) arrived in Chinese court and explaining that their country has involved in continuous war with San-fo-qi (Srivijaya).

In 1003, a Song historical record reported that the envoy of San-fo-qi was dispatched by the king Shi-li-zhu-luo-wu-ni-fo-ma-tiao-hua (Sri Cudamani Warmadewa).

In 1016, Srivijaya assisted Haji (king) Wurawari of Lwaram to revolt, which led to the attack and destruction of the Mataram palace.