 Ahmad Shah was deemed incompetent and was killed by Mahmud Shah himself in 1513 after a failed attempt to retake Malacca from the Portuguese.Mahmud Shah then reclaimed the throne, although by then the Malacca sultanate had been abolished, thus making him a pretender.Fatimah's eldest son, Muzaffar Shah I went on to establish a Sultanate in Perak region while her second son, Raja Raden Ali went on to become the second ruler of the Johor Sultanate as Sultan Alauddin Riayat Shah for 36 years.