He was attacked by the king of Majapahit of Java, King Batara Tamavill for declaring himself as 'Mjeura'(those who dare) and fled to Temasik(Singapore).
The last prince of Srivijayan origin, Parameswara, fled to Temasik to seek refuge before moving farther north, where he founded what would become the Malacca Sultanate.