Kantoli was an ancient kingdom suspected to be located somewhere between Jambi and Palembang in southern Sumatra around the 5th century of the common era.Chinese records indicate that "Sanfotsi was formerly called Kantoli" and this as well as the location of the kingdom have led historians to consider Kantoli as the predecessor of Srivijaya. Srivijaya was referred to as Sanfotsi by the Chinese.
During the reign of the Liu Song Dynasty, Kantoli sent several embassies to China. Trade between the two kingdoms were established and this granted Kantoli with great wealth through heavy dependency on volume from China. With the conquest of Song by the Sui Dynasty, volume of trade dwindled due to the new ruler's austerity. The emperor banned all luxurious items in the courts which coincidentally were supplied by many, including Kantoli.
Sri Varanarendra, king of Kan-t'o-li, sent the Hindu Rudra on an embassy to China between 454 and 464. His son, Vijayavarman, did the same in 519.
Scribere proposui de contemptu mundano
ut degentes seculi non mulcentur in vano
iam est hora surgere
a sompno mortis pravo
a sompno mortis pravo
Vita brevis breviter in brevi finietur
mors venit velociter quae neminem veretur
omnia mors perimit
et nulli miseretur
et nulli miseretur.
Ad mortem festinamus
peccare desistamus
peccare desistamus.
Ni conversus fueris et sicut puer factus
et vitam mutaveris in meliores actus
intrare non poteris
regnum Dei beatus
regnum Dei beatus.
Tuba cum sonuerit dies crit extrema
et iudex advenerit vocabit sempiterna
electos in patria
prescitos ad inferna
prescitos ad inferna.