Upon ascending the throne, the new Sultan (Abdul Jalil IV) killed all the wives of Sultan Mahmud in order to avoid the possibility of any future claims to the throne. However, according to the Hikayat Negeri Johor (Chronicles of the State of Johor) and the Pahang Manuscripts, one wife, Che Apong, managed to escape to Minangkabau and gave birth to Raja Kechil. Less than two decades later in 1717, Raja Kechil would assemble a fleet from Minangkabau and succeed temporarily in ousting Sultan Abdul Jalil's successor Sultan Sulaiman and gain the Johor Sultanate, basing his legitimacy on the claim that he was the post-humous son of Sultan Mahmud Shah II.