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. Throughout his reign, he faced constant threats from the Portuguese as well as the emerging Aceh Sultanate.[1]