Sulalatus Salatin ("Genealogy of Kings," traces the origins of the Malacca Sultanate), c. 1450, (MALACCA SULTANATE)
Parameswara (1344-1414), a Palembang prince of Hindu descent from Srivijaya, founded Malacca around 1400.
In the 1390s, Majapahit sent thousands of ships to attack Palembang (the capitol), and conquered the city, ending a thousand-year-old empire. Parameswara, who had been living in Palembang as a prince, fled from his palace and eventually reached Temasik island, which was headed by a Srivijayan descendant, Temagi, a Malay chief from Patani who had been appointed by the King of Siam as Regent of Temasek. However, Temasik had been a vassal of Majapahit since 1365. After several days, Parameswara was betrayed by his relative and had to kill him. Parameswara then ruled Temasik for about four years, until he was attacked by Majapahit armies, when one of Parameswara’s ministers opened the gates to allow Majapahit armies to attack the palace. Parameswara fled north to Muar.
At Muar, Parameswara contemplated establishing his kingdom at either Biawak Busuk or at Kota Buruk. Finding that the Muar location was not suitable, he continued his journey northwards. Along the way, he reportedly visited Sening Ujong (former name of present day Sungai Ujong) before reaching a fishing village at the mouth of the Bertam River (former name of the Malacca River). This evolved over time to become the location of modern day Malacca Town. According to the Malay Annals (Sulalatus Salatin), it was here that he witnessed a mouse deer outwitting a dog while resting under a Malacca tree. He took what he saw as a good omen and decided to establish a kingdom called Melaka in 1400. Today, the mouse deer is part of modern Malacca's coat of arms.