Dharmawangsa's sister, Mahendradatta later would be betrothed to a Balinese king Udayana Warmadewa. This report indicated that somehow Bali had been absorbed into the Mataram Kingdom's mandala sphere of influence, probably as vassal. In literature development, King Dharmawangsa also ordered the translation of the Mahabharata into Old Javanese in 996. Collapse In the late 10th century, the rivalry between the Sumatran Srivijaya and Javanese Mataram became more hostile. The animosity was probably caused by the Srivijayan effort to reclaim Sailendra lands in Java, as Balaputra and his offspring—a new dynasty of Srivijaya maharajas—belonged to the Sailendra dynasty, or by Mataram aspirations to challenge Srivijaya dominance as the regional power. Previously the Anjukladang inscription dated from 937 mentioned about infiltration attack from Malayu which refer to a Srivijayan attack. War against Srivijaya In 990, Dharmawangsa launched a naval invasion against Srivijaya in an attempt to capture Palembang. The news of Javanese invasion of Srivijaya was recorded in Chinese accounts from Song period. In 988, an envoy from San-fo-qi (Srivijaya) was sent to Chinese court in Guangzhou. 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. The hostility between Srivijaya and Java was confirmed by the Javanese envoy. In 992 the envoy from She-po (Java) arrived in Chinese court and explaining that their country has involved in continuous war with Srivijaya. According to Chinese account, on the 12th month of 992, king Mu-lo-ch'a from She-po sent three envoys named T'o-Chan, P'u A-Li, and Li-t'o-na-chia-teng that bear a lot of gifts, consists of ivory, pearls, silk woven with floral motifs made of gold threads, silk of various colours, fragrant sandalwood, cotton clothes of various colours, turtle shells, betel nut preparation kit, kris dagger with exquisite hilt made of rhino horn and gold, rattan mat with the image of white cockatoo, and a small model of house made of sandalwood adorned with valuable ornaments. In 992 the Srivijayan envoy sailed from China to Champa in an attempt to return home, however he received no news about the condition of his country. The Srivijayan envoy then sailed back to China and appealed Chinese Emperor for the protection of China against Javanese invaders. Dharmawangsa's invasion led the Maharaja of Srivijaya, Sri Cudamani Warmadewa to seek protection from China. Srivijayan Maharaja, Sri Cudamani Warmadewa was an able and astute