Pahang Civil War

The Pahang Civil War (Malay: Perang Saudara Pahang, Jawi: ڤرڠ ساودارا ڤهڠ), also known as The Brothers War or the Bendahara War was a civil war fought from 1857 to 1863, between forces loyal to the reigning Raja Bendahara Tun Mutahir, and forces loyal to his brother Wan Ahmad, over the succession to the throne of Pahang.

When the Johor Empire crumbled in the early nineteenth century, the 22nd Bendahara of the empire, Tun Ali declared his autonomy and had taken control in Pahang, just as the Temenggung had in the state of Johor. Peace and prosperity reigned in Pahang under his rule which lasted in 1857. After his death, the eldest son Tun Mutahir succeeded the crown but did not follow his father's will of granting tax income of Kuantan and Endau to his younger brother Wan Ahmad. Wan Ahmad resented and, along with his soldiers, moved to Tekong Island, planning his attack in 1857.

Tun Mutahir received the backing of Temenggung Tun Daeng Ibrahim and his son Abu Bakar of Johor, who, because of close ties with Singapore's business community, convinced many of them that British commercial interests lay with Tun Mutahir. Wan Ahmad enlisted the support of Sultan Ali in Muar, who saw an opportunity for revenge against the Johor Temenggung. The Siamese Rattanakosin Kingdom weighed in on the side of Wan Ahmad, viewing the disorder as an opportunity to exercise greater control over their east coast tributary states and extend their influence farther south into Pahang. Sultan Baginda Omar of Terengganu also supported Wan Ahmad, seeing him as a tool to counter the rise of the Temenggong. The district of Kemaman in Terengganu was the primary base for much of the campaigns carried out by Wan Ahmad during the war.

Hostilities began in November 1857, when Wan Ahmad forces fired upon Pekan and Ganchong districts, but failed to make significant permanent gains. In the second campaign, which was carried out in March 1861, the invading forces managed to fortify their position in Endau, after overrunning Kuala Pahang and Kuantan. They also made significant incursion further inland, occupying much of the districts further upstream of the Pahang River. However, in November, their advances were again halted by the Bendahara forces. Wan Ahmad and his men fled to Terengganu, rallying his disarrayed forces for another invasion.

At the early stage of the war, Major General William Orfeur Cavenagh, the Governor of the British Straits Settlements, offered to mediate but was rejected by both sides. Wan Ahmad felt that Cavenagh was biased in favor of his older brother due to the influence of the Temenggung and Singapore merchants. Tun Mutahir rejected the mediation because he was winning the war.

In 1862, Wan Ahmad launched a full-scale invasion from Terengganu, when he crossed the border from Kemaman to Ulu Tembeling. With the support of more Pahang chiefs who switched sides, he successfully overran the Bendahara's positions at Temerloh, Batu Gajah and Chenor. He then invaded the capital, Pekan, and winning with ease. Tun Mutahir retreated to Temai and in May 1863, he fled to Kuala Sedili, where he died with his son Wan Koris.

The six years civil war had destroyed much of the modicum of prosperity which Pahang had enjoyed in the heyday of Bendahara Tun Ali's rule. As noted by Sir Hugh Clifford, in former days, prior to the war, Pahang was far more thickly populated than in modern times, but the succession of battles which racked the land caused thousands of Pahang Malays to leave their country. The valley of the Lebir river in Kelantan and the upper portions of several rivers near the Perak and Selangor boundaries are inhabited by Pahang Malays, the descendants of these fugitives. The war also resulted in the permanent loss to Pahang, the area south of Endau River and southern islands off the coast of Endau including Aur and Tinggi, that were ceded by Tun Mutahir to Johor in return to military assistance.

Causes of the dispute
A will dated May 25, 1856, issued by the fourth Raja Bendahara of Pahang, Bendahara Siwa Raja Tun Ali, is regarded as the central source of the escalating tensions in Pahang in the 1850s. Long before his death, Tun Ali had retired from active participation in the government and removed his official residence to Lami where he spent his declining years. On his retirement, he had handed over the government to his eldest son Tun Mutahir. The old Bendahara had made a will whereby he left the revenues of the Kuantan and Endau districts to his favourite son Wan Ahmad. Tun Mutahir subsequently professed ignorance of this clause in the will, and failed to give effect to it. Wan Ahmad retaliated, believing that he had a stronger claim since his mother was Tun Ali's principal wife and claimed that his father had given him Kuantan and Endau to rule, thus partitioning Pahang between himself and his brother.

In 1857, Tun Mutahir failed to appear at his father's death-bed to receive the last solemn injunctions which, according to Malay adat, a dying laid upon his heir. The old Bendahara's wishes, in the absence of Tun Mutahir, were communicated to Wan Ahmad who was thus provided with a pretext for attacking the validity of his brother's succession, and claiming that, he was the rightful successor to his father. At the funeral, the two brothers appeared with bands of fully armed followers, but owing to the influence of the older Chiefs, the obsequies were carried out without bloodshed. The dead ruler was buried in the royal cemetery at Kuala Pahang.

Tun Mutahir's side however, had questioned the very existence of such will and the validity of Wan Ahmad's claim, which they claimed as never been proven. They went on further stating that in a written affidavit dated 2nd Safar 1273 AH ( corresponds to 2 October 1856), Tun Ali had actually ordered the execution of his favourite son, Wan Ahmad.

Mobilization
Soon after their father in his grave, Wan Ahmad proceeded to Singapore to make preparations for an attack upon Tun Mutahir who had assumed the title of Bendahara Sri Maharaja. In July 1857, Temenggung Ibrahim of Johor asked the Governor of the Straits Settlements to prevent Ahmad from fitting armed vessels at Tekong Island for an attack on Pahang.

In 1857, Mahmud Muzaffar Shah of Riau-Lingga, deposed by the Dutch, began intriguing to get himself recognized as Sultan of Pahang, a territory which historically part of the Johor Empire and ruled by his ancestor, but declared as an independent state in 1853 by Tun Ali. He sounded the Bendahara Tun Mutahir, but meeting with no encouragement in that quarter, attached himself to Wan Ahmad's side in furtherance of his own ends. The possession of Pahang by the former Sultan, the head of the old Johor royal family, would have spelt danger to the Temenggong's ruler in Johor, hence one of the reasons for Ibrahim's opposition to Ahmad. The other factors determining the Temenggong's attitude were that Tun Mutahir had the best claim to Bendahara-ship, and that he himself had visions of creating a united Johor-Pahang state. Since Tun Mutahir was no longer young, and his opium-smoking sons were of little account, it would not be difficult to dominate them.

To add to the political complications, the Siamese Rattanakosin Kingdom aspired to revive its ancient suzerainty over Pahang, and covertly supported the pretensions of the former Sultan of Riau-Lingga and Wan Ahmad. Terengganu, too, was brought in the game, and supported Wan Ahmad with men and arms. The position, then, briefly was that Siam quietly encouraged the former Sultan of Riau-Lingga who, with the Sultan of Terengganu, supported Ahmad. Bendahara Tun Mutahir was supported by the Temenggong of Johor. The British Straits Settlements government opposed the Siamese pretensions, and, for fear of offending the Dutch, countered the intrigues of the former Sultan of Riau-Lingga, it tried to prevent the interruption of the growing British trade with Pahang.

War of the Kemaman men
When Wan Ahmad was in Singapore, in July 1857, preparing for an invasion, conflicts between his followers and those of the Temenggong were narrowly averted, and both parties went around with arms concealed on their person. After completing his preparations in Singapore, Wan Ahmad then proceeded to Kemaman in Terengganu where he recruited more men for his venture. The Sultan of Terengganu gave Wan Ahmad his full support even to the extent of issuing orders to the penghulus of Kemaman, under the threat of punishment, to give every assistance to Wan Ahmad forces.

In October 1857, Tun Mutahir received a letter purporting to come from Terengganu in which the Sultan denounced any Wan Ahmad's hostile intent against Pahang. The authenticity of this letter was doubtful, but it had the effect of putting the Bendahara and his supporters off their guard, since they had heard no news of the recent events at Kemaman. Confident of the security of the state, Tun Mutahir sent his eldest son Engku Muda Koris (Wan Long) to Singapore for his marriage to Enche Engku Puan Besar, daughter of Temenggong Ibrahim that took place in November 1857. Koris was accompanied by two of his brothers, Wan Aman and Wan Da, and their followers. Pahang was thus unprepared for the invasion which Wan Ahmad launched by sea from Kemaman in November 1857.

The invasion was known in Pahang tradition as the 'War of the Kemaman Men' (Perang Orang-Orang Kemaman), in which Wan Ahmad forces successfully overran Pekan, which was under the jurisdiction of Tun Mutahir's brother in law. He then attacked Ganchong, the Bendahara's stronghold, which fell easily. There was an attempt for negotiations for peace headed by Penghulu Haji Hassan to a detachment of Wan Ahmad forces led by Che Lambak of Benta. But neither side believed the other. It was reported that as soon as Che Lambak detachment left carrying the peace proposals, Haji Hassan began conscripting soldiers from villages up to Ulu Pahang.

Tun Mutahir fled to Chenor where he recruited more men. Supported by the reinforcements from Maharaja Perba Jelai Wan Idris and his sons, he forced Wan Ahmad and his men to retreat to Kemaman. Shortly after his retreat, Wan Ahmad directed a raid to the Tembeling area, bordering Terengganu. The invaders pressed the Tembeling people into their service and made their way downstream as far as the village of the Penghulu Raja where they threw up stockades on both banks. The Penghulu Raja was absent but the Bendahara forces, led by Maharaja Perba's eldest son, Wan Embong and his men, Che Yahya, Che Embok, Che Uda and Che Mat Merah, engaged the invaders. After fighting which lasted three days, the raiders fled back to Terengganu. The Tembeling Chiefs were fined for deserting their station and Penghulu Raja was dismissed, and removed to Pekan.

Endau War
In October 1858, happened an event which had a decisive bearing upon Wan Ahmad's fortunes, that is the false accusation of revolt and murder of Wan Embong. Wan Embong was the eldest son and heir of Orang Kaya Indera Maharaja Perba of Jelai Wan Idris, the most powerful of the four senior nobles of Pahang. The fate of his son finally determined Wan Idris to switch side to the cause of Wan Ahmad. Shortly after the murder of Wan Embong, Wan Aman the Bendahara's second son fined the people of Ulu Jelai, Lipis, Tembeling and Semantan. Those who were unable to pay the fine were carried off as debt-slaves to Pekan. The tyranny and injustice wrought by the Bendahara's son compelled inhabitants of the area to switch sides and support Wan Ahmad.

To strengthen his position in facing Wan Ahmad forces, Tun Mutahir concluded a treaty with the Temenggong of Johor in the early 1861, whereby the one agreed to help the other in case of attack. In March 1861, Wan Ahmad in Terengganu was preparing for another onslaught. On his side were Maharaja Perba Wan Idris, Dato' Setia Muda Wan Muhammad, Tuan Mandak, Imam Perang Raja Rasu ('Tok Gajah'), Panglima Raja Cik Endut, Panglima Kakap Bahaman and others.

As in his former attempts, he had full support from the Sultan of Terengganu. By April 1861, the invading forces fortified their position in Endau after conducting seaborne attacks on Kuala Pahang and Kuantan. Later in May 1861, Tun Mutahir had unexpectedly handed over the government to his son Wan Koris and went into retirement. The appointment of Wan Koris, notoriously known as a brainless opium-addict, gave further advantage to Wan Ahmad. He gained more support from the people, including the Rawas of Raub, and took control of Kuala Tembeling in August 1861. He then overran Tebing Tinggi, Kuala Tekai and Tanjung Batu, Kerdau after many Pahang chiefs switched sides and joined him.

However, in August 1861, Tun Mutahir's general, Panglima Mansu, routed Wan Ahmad troops out and forced him to flee north of Terengganu. His welcome by the Sultan of Terengganu however, was less cordial this time. The insurgent prince determined to try his fortune elsewhere and hied off to Kelantan, where he met Sultan Muhammad II ('Long Senik Mulut Merah') and Raja Muda Ahmad. In Wan Ahmad's absence from Kemaman, Abu Bakar of Johor sent a boat from Singapore to abduct the enemy's women folk who had been left behind there, but they were faithfully guarded by Panglima Kakap Bahaman, Panglima Raja Cik Endut and a Bugis chief Daeng Muhammad. The would be abductors lost and returned to Singapore.

Temai War
The final phase of the war was preceded with the return of Wan Idris, the Maharaja Perba of Jelai from Terengganu. This event was followed with the major uprising by the people of Jelai, with battles in Kuala Tui and Batu Sawar prompted a retreat of the Bendahara troops led by Wan Aman from Kulau Tembeling to Chenor.

Realising the inevitable defeat if the conduct of war remained in the hands of Bendahara's sons, two senior nobles Orang Kaya of Temerloh and Orang Kaya Shahbandar went to Pekan and prayed that the control of operations entrusted to them. The Bendahara, perforce, agreed to this suggestion, and sign a document giving effect to it, but the tide was beginning to run fast against him.

The last significant battles saw greater involvement of Johor in the conflict under Temenggung Abu Bakar who, in a proclamation dated August 23, 1862, claimed that Pahang had been entrusted to his charge. He sent Johor troops, Perak and Johol mercenaries, ammunitions, medicine, a schooner and a gunboat Muar to help the Bendahara. The result of Abu Bakar's interference was that, the Chiefs who were still on Tun Mutahir's side declined to attack Wan Ahmad on the ground that the Temenggung, who had really no status in Pahang, virtually directed operations, and claimed to own the country. The resentment grew to the extent that many, switch sides to support Wan Ahmad.

Wan Ahmad returned to Pahang in August 1862, greeted by thousands of his supporters at Janing, Ulu Tembeling. After making vows at the hallowed shrine of Marhum Syeikh, he fortified his position at Temerloh, attacked the Johor-Bugis encampment at Pulau Lebak, overran the Bendahara forces in Batu Gajah and Chenor, and forcing them to retreat to Temai. Wan Ahmad troops also defeated the Johor forces at Kuala Bera, before proceed for a surprise attack on the capital. They invaded Pekan with little resistance, killing sixty Bugis mercenaries.

The taking of the capital virtually finished the war, with Bendahara forces holding up their position at Temai for another five months, before retreating further south. In spite of the Temenggong's frantic attempts, backed by men, money and arms to rally the legitimists forces, the Bendahara followers took boat in May 1863, and fled from Pahang.

British
The British Straits Settlements government maintained its policy of non-intervention throughout the beginning of the war. Any form of military assistance requested by Tun Mutahir was rejected and the British even used its influence to prevent further intervention of Siam, Terengganu and Johor. In February 1858, Temenggung Ibrahim of Johor had written to Edmund Augustus Blundell, the Governor of the Straits Settlements complaining of the 'unfriendly sentiments' which the Governor had shown towards him, when he was prevented from sending help to the Bendahara, while Wan Ahmad was allowed to use Tekong Island as a base for his attack on Pahang. The Governor also refused the request for arms transfers from Tun Mutahir in a letter dated May 2, 1858. Determined to cool down the disturbances, Blundell visited both Pahang and Terengganu. On May 17, during his stay at Kuala Terengganu, Blundell extracted a promise from the Sultan of Terengganu for his non-interference in the conflict and the removal of Wan Ahmad from Kemaman. The second appeal that came from Tun Mutahir on August 6 was also rejected, citing that the Bendahara is harbouring the former Sultan of Riau-Lingga that could pose threat to British influence.

On June 26, 1861, the new Governor, Major General Sir William Orfeur Cavenagh wrote to Baginda Omar of Terengganu, hoping that the Sultan would persuade Wan Ahmad, whom earlier launched his second invasion and occupying Kuantan, to return to Terengganu. In a letter written in July to Tun Mutahir, who at the time happened to be in Telok Blangah, Singapore, Cavenagh expressed his regret at the Bendahara's disappointment that the British had not helped to expel Wan Ahmad from Kuantan, but he pointed out that outside assistance might only embitter and prolong the struggle. Cavenagh's view changed shortly after that, when Wan Ahmad, holding Endau, was in a position to interfere with sea traffic between Pahang and Singapore.

The Governor began offering to mediate but was rejected by both sides. Wan Ahmad felt that Cavenagh was biased in favor of his older brother due to the influence of the Temenggung and Singapore merchants. Tun Mutahir refused to compromise in accordance to the will, because he was winning the war. Nevertheless, Tun Mutahir had promised to grant Wan Ahmad an allowance as compensation for the revenues of Kuantan and Endau to which, according to the terms of his father's will, his brother was entitled, but the promise had not been implemented by a written agreement, and the Governor was unable to prosecute his endeavours to effect a settlement.

On July 9, 1861, the Governor refused another Bendahara's request to help in operations against Wan Ahmad in Kuantan, but softened his refusal by a vague promise of the services of the steamer Hoogly. On July 19 the Governor wrote to the Sultan of Terengganu requesting him to persuade Wan Ahmad to leave Kemaman and cease creating disturbances. Cavenagh addressed a communication to Wan Ahmad on July 31 warning him that interference with the trade between Pahang and Singapore would result in armed intervention by the British. On August 6, the Governor, acknowledging a letter from the Bendahara in which he was informed that all was now quiet in Pahang, declined to assist in an offensive against Wan Ahmad though he hoped that the Pahang prince would keep in touch with him. He expressed the opinion that Wan Ahmad would not be able to continue the struggle at Kuantan, and that he could expect no further help from Terengganu. On August 19, the Governor again recorded his belief that Terengganu would refuse to assist the insurgents.

Towards the end of the war, when the tide had quickly turned into Wan Ahmad's favour, Cavenagh acted on his own initiative, abandoning the British policy of non intervention. Two British gunboats, HMS Coquette and HMS Scout bombarded Kuala Terengganu, the Terengganu capital, in response to the refusal of the Sultan to recall his men from campaigns in Pahang, to stop supplying Wan Ahmad with guns and gunpowder and to stop harbouring the exiled Sultan of Riau Lingga, Mahmud Muzaffar Shah. The Siamese Navy docked in Kuala Terengganu and expected to join Wan Ahmad, were also forced to return home.

Siam
The Siamese involvement began in 1861, when Wan Ahmad visited Bangkok following the failure of his second campaign. The Siamese Rattanakosin Kingdom under King Mongkut saw the disorder as an opportunity to exercise greater control over their east coast tributary states, Kelantan and Terengganu, and extend their influence farther south into Pahang. Living in Bangkok at the same time was another exile, Mahmud Muzaffar Shah, a descendant of Sultan Abdul Rahman of Riau, whom Raffles had replaced as the ruler of Johor. Mahmud claimed to be the rightful ruler of both Pahang and Johor. Mahmud, Wan Ahmad, Ali and the Siamese struck a deal to turn the civil war in their favor. The plan was to use Terengganu as a staging area and invade Pahang. Upon victory, Mahmud would be made Sultan, and, as the bendahara, Wan Ahmad would have control the government. What Ali would get out of this one can only speculate - if they won, there would then be two claimants to throne of Johor. Mahmud and Ahmad then proceeded to Terengganu with the Siamese navy.

The Siamese intervention caused great alarm in Johor and Singapore. The merchant community saw it as a threat to their economic interests not only in Pahang, where Siam had never had any influence of note, but also in Terengganu and Kelantan, where increased Siamese presence would threaten their independence and thus trade with Singapore. Cavenagh demanded that Siam withdraw. The Siamese refused, believing Cavenagh's hands were tied by the British policy of non-intervention. In 1862, Cavenagh dispatched British warships to blockade the coast off Terengganu. When the Siamese still failed to withdraw, he bombarded the fort at Kuala Terengganu. This got attention of Bangkok, and it eventually acceded to his demands.

Cavenagh was sharply criticized by the government for exceeding his authority and drawing Britain into the disputes of local Malay rulers. His action, however, was effective. The Siamese were convinced that the British would protect Kelantan and Terengganu from direct Siamese interference.

Johor
As the primary ally to Bendahara Tun Mutahir, Johor's involvement in the conflict traces its origin since the outbreak of the war. Attempts were made by Temenggong Tun Daeng Ibrahim since 1858 to assist the Bendahara, but prevented by the Straits Settlements government. In 1857, Mahmud Muzaffar Shah of Riau-Lingga, deposed by the Dutch, began intriguing to get himself recognized as Sultan of Pahang, a territory which historically part of the Johor Empire and ruled by his ancestor, but declared as an independent state in 1853 by Tun Ali. He sounded the Bendahara Tun Mutahir, but meeting with no encouragement in that quarter, attached himself to Wan Ahmad's side in furtherance of his own ends. The possession of Pahang by the former Sultan, the head of the old Johor royal family, would have spelt danger to the Temenggung's rule in Johor, hence one of the reasons for Temenggung Ibrahim's opposition to Wan Ahmad. The other factors determining the Temenggong's attitude were that Tun Mutahir had the best claim to Bendahara-ship, and that he himself had visions of creating a united Johor-Pahang state. Since Tun Mutahir was no longer young, and his opium-smoking sons were of little account, it would not be difficult to dominate them.

In June 1858, Abu Bakar, the Temenggung's son, was sent to Pahang to wed Che Engku Chik, a sister of Wan Koris. The Bendahara's eldest son had in 1857 married Abu Bakar's sister. These marriages, which had a political significance, strengthened the Bendahara's position, while he, in return for a promise of assistance, ceded to Johor the land which lay between Endau and Sedili Besar, a territory which, from the middle of the 15th century, had belonged to Pahang. The friendly relations between the two, were sealed in a treaty concluded in 1861 whereby the one agreed to help the other in case of attack. Not long after the treaty, Temenggung Ibrahim had died and was succeeded by his son Abu Bakar who redoubled the previous efforts made against Wan Ahmad  On January 27, 1862, he had been informed by the governor on the approval of the treaty whereby, one of the clauses mentioned that Tioman Island and all islands to the south of it fell to Johor, and the Pahang-Johor boundary was fixed on the Endau. The welcome news of the British endorsement of the treaty stimulated the Temenggung to still greater exertions on behalf of Tun Mutahir.

The last significant battles saw greater involvement of Johor in the conflict. Abu Bakar, in a proclamation dated August 23, 1862, claimed that Pahang had been entrusted to his charge. He sent Johor-Bugis troops, Perak and Johol mercenaries, ammunitions, medicine, a schooner and a gunboat Muar to help the Bendahara. He tried to persuade the Sultan of Terengganu to prevent Wan Ahmad, from invading Pahang from Dungun. He requested Sultan Jaafar of Perak not to sell arms to Wan Ahmad's followers. In a letter to Wan Koris and other Chiefs written in August or September 1862, the Temenggung offered a reward of $500 for the head of Wan Ahmad, and threatened that Johor would declare war on Terengganu if it persisted in helping the insurgent prince.

Terengganu
Sultan Baginda Omar of Terengganu fully support Wan Ahmad's cause, seeing him as a tool to counter the rise of the Temenggung of Johor. Apart from supplying men and guns, Terengganu also allowed Kemaman and Dungun to be used as bases for much of the campaigns carried out by Wan Ahmad during the war.

On May 17, 1858, during his stay at Kuala Terengganu, Governor Blundell extracted a promise from the Sultan that Wan Ahmad should be removed from Kemaman. In pursuance of his promise, the Terengganu ruler ordered Wan Ahmad to leave Kemaman and reside at Kuala Terengganu. Wan Ahmad compiled, only for a while, as soon as the Governor left for Singapore, he returned and renewed his warlike preparations. On June 26, 1861, during the second phase of the war, the new Governor Cavenagh wrote to the Baginda Omar hoping that the Sultan would persuade Wan Ahmad to return to Terengganu. On July 19 the Governor again wrote to the Sultan of Terengganu requesting him to persuade Wan Ahmad to leave Kemaman and cease creating disturbances.

Despite repetitive calls, with the threat of war, from both the British and Johor to cease his support to Wan Ahmad, Baginda Omar continued his assistance right until the end of the war. As a result of his refusal, while the Johor forces infiltrating inland to halt Wan Ahmad's advance, the Terengganu capital was bombarded by the Royal Navy in 1862.

Death of Tun Mutahir and the New Bendahara
Before fleeing from Pahang in May 1863, Tun Mutahir and Wan Koris fell seriously ill, and Wan Aman was nominated as the new Raja Bendahara designate by the Shahbandar, but Wan Aman was a ruler without a country as Wan Ahmad had won the day. Tun Mutahir and Wan Koris died at Kuala Sedili in May 1863, resulting no real disputant left contesting Wan Ahmad's claim.

The victor was formally installed ruler by his chiefs with the title Bendahara Siwa Raja Tun Ahmad, thus ended the fratricidal struggle between Tun Mutahir and Wan Ahmad. Judged in terms of loss of human life, little damage had been done in the war, but the misery caused to the inarticulate Pahang peasants was incalculable. Harried by both sides, impressed, forced to provide food for the conflicting forces, deprived of what little property they possessed, subjected to great cruelties particularly by Tun Mutahir's sons, their villages overrun by foreign fighting men, their lost was most unenviable. Many of those who could do so fled to adjoining states.

The modicum of Bendahara Tun Ali's rule quickly disappeared in the conflict of the warring factions. At the least, Wan Ahmad's victory meant for the peasants that thenceforth had only one set of masters to serve.

Amnesty
Bendahara Tun Ahmad signalised his victory by proclaiming an amnesty to all the chiefs and people who had sided with his enemies. Advantage was taken of the indemnity by the Shahbandar, Che Lambak and their followers, they returned to Pahang and were received in a friendly fashion by the new ruler. Bendahara summoned a council of chiefs, framed laws, and prescribed punishments for crimes. He conferred titles to those who had distinguished themselves in the late war. He sent territorial magnates back to reside in their own districts. He forgave his kinsmen Engku Ngah and Engku Chik and married their sister Che Puan Bongsu (later known as Tun Besar) by whom he had a daughter, Tun Long. He remitted for three years all imposts on produce entering or leaving Pahang, but this remission did not apply to Kuantan, Tun Ahmad's private reserve. There was a famine caused by drought and a plague of rats in Ulu Pahang for two years after the war. Tun Ahmad issued free stocks of rice to the starving peasantry.

British recognition
In October 1863, the Bendahara informed the Governor that he had been invited to Pahang by the four senior nobles, and had conquered that state on Tuesday, 22nd of the month of Dhu al-Hijjah, 1279 AH (corresponds to June 10, 1863). Before the end of the year, Governor Cavenagh had reported to the home government that the people of Pahang were becoming reconciled to their present ruler, and that the country was rapidly becoming tranquillised and trade was reviving. In consequence to this report, the British Government decided to recognised Tun Ahmad as the de facto ruler.

Territorial dispute with Johor
The armed conflict between the new Bendahara and Temenggung Abu Bakar ceased with the expulsion of Tun Mutahir from Pahang, but their quarrels continued. One of their outstanding differences was the quiestion of the islands. In return for the Temenggung's assistance, Tun Mutahir ceded to Johor the Tioman and other island to the south, which from the time immemorial, had belonged to Pahang. Tun Ahmad refused to recognise the validity of this cession. In October 1863, he summoned the Chiefs of Tinggi, Tioman and other islands to meet him, and obtained their allegiance.

On July 2, 1866, the Bendahara acknowledged a letter in which Governor Cavenagh had declared he was unable to recognize the validity of Tun Ahmad's authority over the Pahang islands on the ground that they were subject to the rule of the Temenggung. He respectfully replied that Tioman, Tinggi, Aur and other islands had always been subject to Pahang. In September 1866, Temenggung's gunboat, with a Johor force, had created disturbances and seized Pahang subjects on the islands and arrested fishermen. Tun Ahmad refrained from retaliating to such provocation and decided to settle the matter peacefully. When the Temenggung's small fleet invaded again the Aur Island in June 1867, the Bendahara sent Che Lambak and Imam Perang Mahkota to Singapore to relate the history of the islands off Pahang. The envoys brought a sword as a gift with a small note; "a humble present, but it may be of use to our friend."

In the same year, Abu Bakar finally receded to the demand and had offered to cede to his enemy the islands of Tioman, Seri Buat, Kaban and others to the north of latitude 2°40', and in 1868 Governor Sir Harry Ord awarded them to Pahang. The boundary dispute was not, however, finally settled till 1897 when Ord's decision was confirmed, the left bank of the Endau River going to Pahang, the right to Johor. The islands north of a line drawn east from the Endau River remained with Pahang, those to the south were awarded to Johor.

Later conflicts
Tun Mutahir's surviving sons, Wan Aman, Wan Da and Wan Abdullah made an attempt to regain their father's country about the year 1866. They sent an invading force that took a fort at Jerang in Ulu Triang. The magnates of Temerloh and Chenor stemmed the invasion, and after a month of fighting, the Pahang men forced the invaders to flee. In 1868, Wan Da launched another invasion, infiltrating his forces into Raub. They were defeated at Sega by the Pahang troops and forced to retreat to Selangor. Wan Ahmad attributed Wan Da's attack to the machinations of his enemy Temenggung Abu Bakar.

Wan Aman and Wan Da had later transferred their activities to Klang where they joined Raja Abdullah. They soon quarrelled with him, and went over to Raja Mahdi's side, in return for a promise that he would help them to conquer Pahang. By this time, Temenggung Abu Bakar had disassociated himself from any further armed intervention in Pahang. In the early 1870, Wan Aman and Wan Da, helped by forces of Raja Mahdi invaded Pahang through Raub. The defenders threw up forts at various places on the Lipis River. Fighting took place at Kuala Pa near Temu, and in three days the invaders captured eight stockades. Reinforcements from Pekan led by Haji Muhammad Nor arrived and burnt down the insurgents headquarters in Raub and took their fort in Sempalit. Panglima Kakap Bahaman, the magnate of Semantan, had closed all the tracks to Selangor and lay in wait for the retreating invaders, but Wan Aman extricated himself from an awkward situation by coming to terms with his enemies, and he and his men were allowed to depart after a conflict which had lasted for nine months.

On his return to Selangor, after his unsuccessful invasion, Wan Aman quarrelled with his quondam ally Raja Mahdi, and went over to the side of Tengku Kudin by whom he was put in charge of Hulu Selangor. In November 1871, Wan Aman was captured by Sayyid Mashor, one of Raja Mahdi's supporters. His brother Wan Da proceeded to Pahang, made his peace with his uncle and produced a letter from Tengku Kudin in which the prince appealed for Pahang assistance in the Selangor Civil War. Bendahara Tun Ahmad had been affronted at the treatment accorded to his nephew in Hulu Selangor. 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. The Bendahara was convinced that there would be no peace in his country until these freebooters were crushed. He agreed to help and sent Pahang troops that attacked in two directions, one that marched via land route from Bentong to  Ulu Klang and another via sea route that landed at Klang. The Pahang troops, consisting mostly veterans of civil war in their homeland, quickly subdued the Raja Mahdi forces and occupied the Selangor capital, Kuala Lumpur in March 1873. Pahang's involvement had turned the tide of war to Tengku Kudin's favor, effectively ending the war in Selangor.