Johor Sultanate
Muzaffar Shah was invited by the people in the north of the peninsula to become their ruler, establishing the Sultanate of Perak. Meanwhile, Mahmud's other son, Alauddin succeeded his father and made a new capital in the south. His realm was the Johor Sultanate, the successor of Malacca.