He was the first PengiranBendahara (Vizier) in Brunei, later given the title Pengiran Bendahara Seri Maharaja Permaisuara. He married the younger sister of Ong Sum Ping (also known as Pengiran Maharaja Lela). Sultan Ahmad died in 1425, while his son Nakhoda Angging was Brunei Maharaja in the Sulu and thus, was succeeded by his son-in-law, Sultan Seri Ali or Sharif Ali, the great Sufi Berkat.
The earliest historical record of the Sultans of Brunei is not clearly known due to the poor early documentation of Brunei history. Many elder members of the House of Bolkiah claim that their ancestors were the BaHassan and BaAlawi Saadah from Tarim and Hadhramawt in Yemen. In addition there has been an effort to Islamise the history, with the "official history" not matching up with verifiable foreign sources. The Batu Tarsilah, the genealogical record of the kings of Brunei, was not started until 1807. Therefore, much of the intepretation on history relied on earlier Chinese sources and legends. It seems that the early Sultanate of Brunei was dependent on Chinese support, and perhaps early Sultans were of Chinese origin. Furthermore the earliest Sultans may have been practising the Hindu or Buddhist religions, with early names indicating this origin.