Founding The consolidation of bendahara rule in the
Johor Empire began in the late 17th century. During this period, the bendahara as the highest minister of the empire were able to undermine the sultan's powers. When
Mahmud Shah II died in 1699, Bendahara
Tun Abdul Jalil became the next
Sultan of Johor and assumed the title Abdul Jalil Shah IV. His appointment was accepted by the Johorean chiefs based on the understanding that the bendaharas would succeed to the throne if the sultan died without heirs. Pahang, meanwhile came under the control of Bendahara Tun Mas Enum (1699–1717). He was followed by Bendahara Tun Abdullah (1717), Bendahara Tun Abdul Jamal (1717) and Bendahara Tun Husain (1721–1748). Tun Hasan ruled Pahang from 1748 to 1770. He was succeeded by
Tun Abdul Majid, the son of Tun Abbas, who was himself son of Abdul Jalil Shah IV. Self-rule was established during the reign of Tun Abdul Majid after Pahang's status was changed from a
tanah pegangan (a fief) to
tanah kurnia ('granted land'), thus the ruling bendahara acquired the title
raja ('king'). The allegiance of the bendahara to the sultan continued, though it weakened over time. The potentate, as the senior minister, had the privilege of installing the sultan, and was himself installed by sultans. The bendahara became the ruler of the fully independent Pahang, and assumed all of the powers of the sultan.
Independence The period 1801 to 1802 was marked by a power struggle among the four sons of Tun Abdul Majid; Tun Abdul Mutalib, Tun Muhammad, Tun Koris and Tun Da. Upon the death of Tun Abdul Majid in 1802,
Tun Muhammad was appointed by Sultan
Mahmud Shah III of Johor to succeed as bendahara. However, he drowned on his journey from Riau to Pahang.
Tun Koris was then appointed bendahara. He was later succeeded by his son,
Tun Ali. By the early 19th century, the Johor Empire was approaching its dismemberment, with sultan's power effectively reduced to the capital in Daik, Lingga. After 1806, the empire's constituent dominions became independent principalities, and the cultural unity that had existed between the Malay peninsula, and islands of Riau-Lingga was gradually destroyed. After the death of Mahmud Shah III, the empire became further divided when a succession dispute among his two sons, gave rise to two centers of power, one in Riau-Lingga, under
Abdul Rahman Muazzam Shah, and the other in the Johorean mainland, under
Hussein Shah. On 17 March 1824, the Dutch and the British concluded the
Anglo-Dutch Treaty, whereby it was agreed that Singapore and the peninsula should be in the British sphere of influence, while the islands south of Singapore would be in the Dutch sphere of influence. The signing of the treaty further undermined the cohesion of the Johor Empire and contributed to the emergence of Pahang and Johor as independent states. From here, the Bendahara of Pahang grew increasingly independent. While Tun Ali had acknowledged Abdul Rahman Muazzam Shah as his overlord, the Anglo-Dutch Treaty confined the Sultan to Riau-Lingga, where he was deemed a vassal of the Dutch, and prevented him from exercising his control over the Malay Peninsula, which had come under the British protectorate. Tun Ali declared independence from the empire by 1853, formally ending the two centuries-long union between Johor and Pahang; the dynastic union having already ended in 1699. He was able to maintain peace and stability during his reign, but his death in 1856 precipitated a civil war among his sons.
Civil War When Tun Ali died in 1856, control over Pahang fell to his son,
Tun Mutahir. Although the late Bendahara's will gave control of the
Kuantan and
Endau Rivers to another of his sons, Wan Ahmad, Tun Mutahir professed ignorance of this provision. Wan Ahmad retaliated, believing that he had a stronger claim since his mother was Tun Ali's principle wife. The resulting civil war divided Pahang into factions. His elder brother, Tun Mutahir was supported by
Johor to the south, and by the British
Straits Settlements who were then opposing the Siamese
Rattanakosin Kingdom. Wan Ahmad, 22 years old at that time, was helped by the
Terengganu, a Malay sultanate to the north, and by the Siamese. Both sides, whose outside supporters had ulterior motives, engaged chiefly in raids and ambushes, with occasional battles near fortifications along the vast river system of Pahang. Siamese vessels sent to assist Wan Ahmad in 1862 were routed by British warships. The war ceased soon after Wan Ahmad troops captured and established control over a number of important towns and regions in the interior, and eventually seized the capital, Pekan. Tun Mutahir retreated to Temai and in May 1863, he fled to Kuala Sedili, where he died with his son Wan Koris. Ahmad owed his victory in the war partly to his outstanding ability as a field commander. He was formally installed ruler by his chiefs with the title Bendahara Siwa Raja Tun Ahmad. After his ascension the new Raja Bendahara proclaimed amnesty to those chiefs and subjects who had aided his enemies. He also rewarded the wealthy businessmen who had rendered him financial assistance during the war by leasing to them the state's salt and opium monopolies.
Klang War In the early years of Tun Ahmad's reign, Pahang descended into turmoil, with various attempts made by the surviving sons of Tun Mutahir, based in Selangor, to overthrow him. The
Rawas and
Mandailings who earlier revolted in Pahang, and had been driven into
Selangor, were using that state as a base for lightning raids into Pahang. Tun Ahmad was convinced that there would be no peace in his country until the Rawas and Mandailings were crushed. This led to Pahang's direct involvement in the
Klang War on the side of Tengku Kudin, who earlier had promised an immediate payment of thirty thousand dollars and, in the event of victory, a perpetual allowance of one thousand dollars a month, and the right to the revenue of the Klang district. In August 1872, a contingent of Pahangese forces originating from Ulu Pahang, mobilised at
Bentong, crossed into Selangor and pressed on to
Ulu Klang, before advancing further into
Kepong. By November 1872, another contingent from Pekan arrived by sea at
Klang, and formed part of the invading forces that captured
Kuala Lumpur on 23 March 1873. After months of fighting, the Pahangese forces, with their allies had driven their enemies from their stronghold in
Kuala Selangor into
Hulu Selangor. In the ensuing fights, the enemy forces retreated further to
Slim River where the Pahangese again attacked and routed them to neighbouring Perak. By the end of the war, the Pahangese warlords established their rule over parts of Selangor, in particular the districts of Ulu Klang and Hulu Selangor. Atrocities were reported, where Rawas and Mandailings settlements were raided and pillaged. Many of inhabitants were massacred while the surviving women and children were carried off into slavery. The
Jelai chief, was recorded to have returned to Pahang with a large sum of spoils and with a well-stocked
harem. In November 1873, the Pahangese men who had fought in Selangor, left the country.
Proclamation of sultanate By 1880, Tun Ahmad had begun to lose his grip over the state. Pahang's involvement in a series of wars had led to the rise of dissension among the ruling class and the various territorial chiefs, who were thenceforth divided into factions. The senior chiefs were discontented and held him responsible for their loss of prestige and autonomy. In addition, many lost the power and authority they formerly held, especially over revenue, to younger chiefs upon whom Tun Ahmad had bestowed titles as rewards for their support in the wars. Those critical of Tun Ahmad had been punished either by his waging war upon them or by being killed. Around the same time, another one of the Tun Ahmad's half brothers, Wan Mansur, laid claim to his position. Wan Mansur turned first to Johor and then to the British, to no avail. Despite the apparent discontent, Tun Ahmad, with the support of a number of chiefs, still aspired to be sultan. In 1881, prompted by his dwindling authority both within Pahang and among his counterparts in the western
Malay states, he took the title of Sultan Ahmad al-Muadzam Shah and formally proclaimed as sultan by his territorial chiefs on 12 December 1884. He was recognised by the
Straits Settlements government as sultan in 1887. Fearing that the internal disputes in Pahang would lead the British to intervene in his state, Sultan Ahmad – following the example of Johor – opened his state to foreign investors, granting vast tacts of land to them in the 1880s. ==Socio-political hierarchy==