Read more after the jump (See more).
In the 14th century, Srivijaya was losing its influence and faced threats from various corners of the Maritime Southeast Asia. The Majapahit Empire, centred in Java, was expanding its borders beyond Java. The Srivijayan Empire had previously controlled parts of Java but it was driven out of in 1290 by the increasingly powerful Singhasari, a predecessor to Majapahit. Singhasari later attacked the Sriwijaya palace in the Malayu. As a result, Srivijaya had to move its court from Palembang, on the bank of Musi River in southern Sumatra, to Malayu (now Jambi province) on Batang Hari River bank. Although the royal court had moved to Malayu, Palembang remained an important imperial city. Some time in the later half of the 14th century, Singhasari sent its navy towards Palembang and Malayu, thus conquering the city. This invasion ended the 1000-year old empire.