 He founded the Johor Sultanate following the fall of Malacca to the Portuguese in 1511.He was the second son of Mahmud Shah of Malacca.Thus, Johor was a successor state of Malacca and Johor's sultans follow the numbering system of Malacca.