The Sultanate of Malacca was first a Hindu kingdom before becoming a Muslim with the King of Singapore (in) Parameswara in 1402 . Its capital Malacca was taken by the Portuguese in 1511 , which resulted in the disappearance of the sultanate. The Malay Peninsula was divided into several smaller sultanates: Johor , Perak …