Succession dispute Muhammad Alam felt assured of his imminent rule upon receiving his father's approval, despite lacking the symbolic crown and Kris Si Naga that traditionally signify full Sultanate power. However, his accession was met with disapproval among the Bruneian populace. In contrast to fifteen years earlier, when his father took power with the heir apparent still a minor, Pengiran Muda Omar Ali Saifuddin had matured into a capable young man widely recognised as suitable to ascend the throne. Muhammad Alam's support base was largely confined to his commercial associates within Brunei, as his authoritarian tendencies deepened the rift between him and his subjects, fostering widespread hostility toward his reign. Despite historical portrayals of him as a formidable leader during his father's rule, admired for his stern demeanor that at times protected Brunei from foreign deception, his actions also alienated foreign envoys and exacerbated internal discontent, ultimately isolating him as the most despised and feared figure in the empire. This dispute began when Muhammad Alam chose to assume the throne instead of Pengiran Muda Omar Ali Saifuddin, who was the legitimate successor. This conflict had its origins in 1804, when Sultan Muhammad Tajuddin abdicated in favour of his son, Sultan Muhammad Jamalul Alam. Sultan Muhammad Tajuddin died soon after, leaving Pengiran Muda Omar Ali Saifuddien, his baby son, as the presumed heir. After resuming the throne for his grandchildren, Sultan Muhammad Tajuddin sought
Pengiran Digadong Ayah's regency in 1806, pledging to pick advisers for Pengiran Muda Omar Ali until he reached adulthood. This was owing to Tajuddin's deteriorating health.
Pengiran Digadong Ayah, however, broke the terms of the treaty when he proclaimed himself Sultan in 1807 upon the death of Sultan Muhammad Tajuddin. He ruled with his son, Muhammad Alam, until his own passing in 1826. When Sultan Muhammad Kanzul Alam died, he chose Muhammad Alam as his successor, even though he did not wear the royal regalia that denotes absolute authority. This created a public dispute between Muhammad Alam and Omar Ali Saifuddien II's followers. ===
Civil war === There seems to be historical background to a civil war that broke out in Brunei in the years after his father's death, around 1826–1828. Pengiran Muda Omar Ali Saifuddien and his allies moved to Keingaran Island on 15 February 1826, potentially declaring themselves Sultans and constructing a defensive posture, about this time, out of concern for their safety. Fears about Muhammad Alam's tyranny during the civil war, including reports that he required blood rituals to remain unstoppable, may have led to the migration. This might be seen as Muhammad Alam used brutality and
hostage-taking to intimidate followers of Sultan Omar Ali Saifuddin II, so solidifying his image as the ruthless Raja Api. The people of Brunei, especially those in Kampong Burong Pingai (present day
Kampong Burong Pingai Ayer) and the adjacent districts, were mostly in favour of Omar Ali Saifuddin II. The uprising against Muhammad Alam, headed by
Pehin Dato Perdana Menteri Abdul Hak, was motivated by their conviction that Omar Ali Saifuddien had a legitimate claim to the throne. Kampong Burong Pingai was renowned for its highly educated population, which included religious academics who adhered to Islamic doctrines and values of justice. This helped explain why these individuals supported Omar Ali Saifuddien. In the past, they supported Pengiran Muda Muhammad Yusof and Muhammad Alam by their active trading, which benefited Brunei's economy. But the villagers turned against him once he took over, banding up with Omar Ali Saifuddien's followers on Keingaran Island to erect blockades against his rule. His support, on the other hand, was restricted to his close associates and family, highlighting the fact that his harsh and despotic rule cost him the favour of the general public.
Death and aftermath Though there are differing reports of how this happened, Muhammad Alam's death in 1828 marked the end of Brunei's civil war. According to the commonly accepted story, Muhammad Alam was on
Chermin Island when assassins were sent to assassinate him. Raja Isteri Nooralam was the mother of Sultan Omar Ali Saifuddien II and the half-sister of Muhammad Alam. Recognising the seriousness of their mission, these killers went up to him. To their surprise, he collaborated, giving them advice on how to overcome his seeming invincibility before they buried and
garrotted him on the island. However, because of his well-known anger and the absence of eyewitness testimony, historian
Pehin Jamil challenges this story. An alternative interpretation of the end of Muhammad Alam's reign is provided by the second narrative. In this version, he willingly departed Brunei after admitting defeat, rather than being assassinated by assassins. It is said that he moved to
Putatan in Sabah to have a simpler life. The
Brunei History Centre's 2009 investigation, which located a gravestone in Putatan believed to be that of Muhammad Alam, gives credibility to this narrative. While no concrete proof of his burial on Chermin Island or in the
Royal Mausoleum has been discovered, the center pointed out that the gravestone is comparable to royal tombstones discovered in Brunei. A
chronology of the events surrounding Muhammad Alam's reign shows political unrest and succession conflicts in Brunei, which is necessary to determine whether or not they qualify as a civil war. Important sources that provide light on internal unrest, factional battles, and challenges to legitimacy during this time include local chronicles and academic assessments by individuals such as Pehin Jamil. The mentioned indicators suggest notable internal divides and violent conflicts over leadership, which correspond with the characteristics commonly linked to civil wars. However, more examination of historical records is necessary to draw a firm conclusion. Muhammad Alam's brother Pengiran Muda Hashim, who took part in the abortive insurrection in the 1820s, said that his downfall marked the end of a stable, although rigorous, system of governance in Brunei. The demise's siblings and other relatives, scattered, with some migrating to Sarawak. == Reputation ==