Parameswara (1344 – c. 1414), thought to be the same person named in the Malay Annals as Iskandar Shah, was the last king of Singapura and the founder of Malacca. According to the Malay Annals, he ruled Singapura from 1389 to 1398. The king fled the island kingdom after a Majapahit naval invasion in 1398 and founded his new stronghold on the mouth of Bertam river in 1402. Within decades, the new city grew rapidly to become the capital of the Malacca Sultanate. Portuguese accounts however, written a hundred years after his death, suggest he was from Palembang in Sumatra and usurped the throne of Singapura; he was driven out, either by the Siamese or the Majapahit, and went on to found Malacca. - Wiki