He named no heir formally. He left behind two sons by two different women, both of whom were of Bugis extraction. The older son, Hussein Shah stood the better chance of succeeding his father by primogeniture over his younger half-brother, Abdul Rahman.[9] Hussein Shah, however, was away in Pahang when his father died.