From Sumatra, the Shailendras also maintained overseas relations with the Chola kingdom in Southern India, as shown by several south Indian inscriptions. An 11th-century inscription mentioned the grant of revenues to a local Buddhist sanctuary, built in 1005 by the king of the Srivijaya. In spite the relations were initially fairly cordial, hostilities had broken out in 1025. Rajendra Chola I the Emperor of the Chola dynasty conquered some territories of the Shailendra Dynasty in the 11th century. The devastation caused by Chola invasion of Srivijaya in 1025, marked the end of Shailendra family as the ruling dynasty in Sumatra. The last king of Shailendra dynasty — the Maharaja Sangrama Vijayatunggavarman — was imprisoned and taken as hostage. Nevertheless, amity was re-established between the two states, before the end of the 11th century. In 1090 a new charter was granted to the old Buddhist sanctuary, it is the last known inscription with a reference to the Shailendras. With the absence of legitimate successor, Shailendra dynasty seems ceased to rule. Other family within Srivijaya mandala took over the throne, a new Maharaja named Sri Deva according to Chinese source establishing new dynasty to rule Srivijaya. He sent an embassy to the court of China in 1028 CE.