Ali Jalla Abdul Jalil Shah II married Fatima Raja the sister of Muzaffar II of Johor who was the sultan of Johor. On Muzaffar's death, Ali Jalla and Fatima's son Abdul Jalil I of Johor became the sultan. He died less than a year later and Ali Jalla was then made the sultan.