The Mempawah Kingdom () also known as the Mempawah Sultanate, was a Malay-Dayak kingdom located in a territory now known as the Mempawah Regency, West Kalimantan, Indonesia. The name Mempawah is taken from the term "Mempauh", which is the name of a tree that grows in the upper reaches of the river, also known as the Mempawah River. In its development, Mempawah became known as the name of one of the kingdoms and sultanates that developed in West Borneo. The history of Mempawah is divided into two periods, namely the Malay-Dayak kingdom based on Hindu teachings and the period of Islamic influence.

History

Dayak-Hindu period The forerunner of Mempawah is closely related to the history of several predecessor kingdoms, including the Bangkule Sultankng Kingdom and the Sidiniang Kingdom. The Bangkule Sultankng Kingdom is a Dayak kingdom founded by Ne'Rumaga in a place called Bahana.

The Dayak kingdom led by Patih Gumantar is an independent kingdom that has existed since around 1380. Because the center of this kingdom is in the Sidiniang Mountains, it was known as the Sidiniang Kingdom.

It is said that Patih Gumantar had an agreement with Gajah Mada from the Majapahit Empire to unite the countries in the archipelago under the control of the Majapahit Empire. Patih Gumantar and Gajah Mada are said to have traveled together to Muang Thai to resist the attack of Kublai Khan of the Mongol Empire. Evidence of the relationship between the Sidiniang Kingdom and the Majapahit Empire is the existence of a keris (ceremonial knife) that was presented to Patih Gumantar. This knife is still stored in Hulu Mempawah, and the heirloom is referred to as "Keris Susuhunan".

The existence of the Sidiniang Kingdom was always being threatened. One of the attacks on the kingdom was from a Biaju kingdom. In the battle that took place around 1400, there was a beheading war that resulted in the death of Patih Gumantar. With the death of Patih Gumantar, the history of the Sidiniang Kingdom came to an end. However, there is an opinion that the position of Patih Gumantar was continued by his son named Patih Nyabakng. However, the reign of Patih Nyabakng did not last long because the Sidiniang Kingdom was involved in a dispute with the Lara Kingdom which was centered in Sungai Raya Negeri Sambas. After the leadership of Patih Nyabakng, the history of the Sidiniang Kingdom could not be traced again.

Two hundred years later, or around 1610, a new government was established that was built on the former ruins of the Sidiniang Kingdom. The relationship between the founder of this new kingdom and Patih Gumantar is not yet known. Also, several references found mentioned that the leader of this new kingdom was named Raja Kodong or Raja Kudung. Raja Kudung then moved the center of his government from Sidiniang to Pekana.

Around the year 1680, Raja Kudung died and was buried in Pekana. The successor of Raja Kudung was Panembahan Senggaok, also known as Senggauk or Sengkuwuk, who ruled since 1680. The mention of the name "Senggaok" was used in conjunction with the transfer of the central government from Pekana to Senggaok, an area upstream of the Mempawah River. Panembahan Senggaok married the daughter of Raja Kahar of the Batu Rizal Kingdom in Sumatra, named Putri Cermin, and they had a daughter named Putri Utin Indrawati. Putri Utin Indrawati was then married to Sultan Muhammad Zainuddin of the Tanjungpura Kingdom. From this marriage, they had a daughter named Putri Kesumba. Putri Kesumba was then married to Opu Daeng Menambun, a pioneer of Islamic influence in Mempawah and one of the five Bugis brothers.

Opu Daeng Menambun's reign and Islamic influence Opu Daeng Menambun comes from the Bugis Luwu Kingdom in South Sulawesi. Opu Daeng Menambun's father named Opu Tendriburang Daeng Rilaga traveled from Sulawesi to the countries in the Malayan Peninsula. Opu Tendriburang Daeng Rilaga is the son of Opu La Maddusila, the first Bugis king to convert to Islam. Opu Tenrri borong Daeng Rilekke had five sons who were invited to travel to the Malayan Peninsula. The five children of Opu Tendriburang Daeng Rilaga were Opu Daeng Menambun, Opu Daeng Parani, Opu Daeng Chelak, Opu Daeng Marewah, and Opu Daeng Kemasi. Their arrival to the Malayan Peninsula became one of the migration stages of the Bugis people that occurred in the 17th century. Opu Tendriburang Daeng Rilaga and his five sons played an important role in the Malayan Peninsula and Borneo, especially in the spread of Islam.

The arrival of Opu Daeng Menambun to Borneo was actually at the request of Sultan Muhammad Zainuddin (1665–1724), to reclaim the throne of the Matan Sultanate which was forcibly taken by Pangeran Agung, brother of Sultan Muhammad Zainuddin. Opu Daeng Menambun's brothers, who were in the Johor Sultanate at the time helping quell the upheaval there, immediately left for Matan. With the help of the Bugis brothers, the throne of Sultan Muhammad Zainuddin was saved. Opu Daeng Menambun was then married to Ratu Kesumba, daughter of Sultan Muhammad Zainuddin. Not long after, Opu Daeng Menambun's brothers returned to the Johor Sultanate.

After the death of Opu Daeng Menambun's brothers, internal turmoil occurred again in the Matan Sultanate. Sultan Muhammad Zainuddin's children argued over who had the right to inherit the throne of the Matan Sultanate if their father died. Sultan Muhammad Zainuddin again asked for help from Opu Daeng Menambun who had returned to the Johor Sultanate. Opu Daeng Menambun complied with Sultan Muhammad Zainuddin's request and immediately headed to Matan for the second time, while his four other brothers did not participate because their energy was needed to help the Johor Sultanate.

Thanks to Opu Daeng Menambun, disputes in the Matan Sultanate could soon be resolved peacefully. For the services of Opu Daeng Menambun, Sultan Muhammad Zainuddin was pleased to bestow Opu Daeng Menambun with the honorary title of Pangeran Mas Surya Negara. Opu Daeng Menambun decided to stay in the Matan Sultanate with his wife, and they had several children together named Putri Candramidi, Gusti Jamiril, Syarif Ahmad, Syarif Abubakar, Syarif Alwi, and Syarif Muhammad.

In 1724, Sultan Muhammad Zainuddin passed away. His successor was Gusti Kesuma Bandan who holds the title Sultan Muhammad Muazzuddin (1724–1738). Meanwhile, in Mempawah, Panembahan Senggaok died in 1737. Due to Panembahan Senggaok not having a son, the throne of Mempawah was given to Sultan Muhammad Muazzuddin who was none other than Panembahan Senggaok's grandson from Putri Utin Indrawati who married Sultan Muhammad Zainuddin. However, a year later or in 1738, Sultan Muhammad Muazzuddin also died and was replaced by his son named Gusti Bendung or Pangeran Ratu Agung with the title Sultan Muhammad Tajuddin (1738–1749).

In 1740, power over Mempawah, which was concurrent with the Matan Sultanate, was handed over to Opu Daeng Menambun who later adopted the title Pangeran Mas Surya Negara, a title previously given by the late Sultan Muhammad Zainuddin. Meanwhile, Opu Daeng Menambun's wife, Ratu Kesumba, holds the title Ratu Agung Sinuhun. It was during the Opu Daeng Menambun's era that Islam became the official religion of the kingdom. Opu Daeng Menambun moved the center of his government from Senggaok to Bukit Rama which was a fertile, prosperous, and strategic area, and was crowded with traders.

The influence of Islam in Mempawah during Opu Daeng Menambun's reign was even greater thanks to the role of Syarif Habib Husein Alkadrie (father of Syarif Abdurrahman Alkadrie), a traveler who came from Hadhramaut or South Yemen. Husein Alkadrie had previously served as the main judge in the Matan Sultanate during the reign of Sultan Muhammad Muazzuddin. Husein Alkadrie was married to the daughter of Sultan Muhammad Muazzuddin named Nyai Tua Utin Kabanat. In the Matan Sultanate, Husein Alkadrie served until the reign of the 4th Sultan of Matan, namely Sultan Ahmad Kamaluddin, who succeeded Sultan Muhammad Tajuddin in 1749. However, in 1755, Husein Alkadrie disagreed with Sultan Ahmad Kamaluddin about the application of the death penalty.

Seeing this condition, Opu Daeng Menambun offered Husein Alkadrie to live in Mempawah. The offer was accepted by Husein Alkadrie who immediately moved to the Opu Daeng Menambun's Palace. Husein Alkadrie was later appointed as Patih and Mufti of Mempawah. In addition, Husein Alkadrie was allowed to occupy the Kuala Mempawah (Galah Herang) area to serve as a center for teaching Islam. To further strengthen the relationship between Husein Alkadrie's family and Mempawah, marriage was held between Husein Alkadrie's son, Syarif Abdurrahman Alkadrie, and Utin Candramidi (Opu Daeng Menambun's daughter). Later, in 1771, Syarif Abdurrahman Alkadrie founded the Pontianak Sultanate.

In 1761, Opu Daeng Menambun died and was buried in Bukit Rama. The next successor of Mempawah was the son of Opu Daeng Menambun, namely Gusti Jamiril who had the title Panembahan Adiwijaya Kusumajaya. Under the leadership of Panembahan Adiwijaya, Mempawah's territory expanded and became known as a bustling trading port.

Dutch intervention and colonization Not long after the Dutch landed in Mempawah in about 1787, there was a battle against the troops of Mempawah led by Panembahan Adiwijaya. Syarif Kasim Alkadrie, son of Syarif Abdurrahman Alkadrie, was persuaded by the Dutch to join in the attack on Mempawah. Panembahan Adiwijaya finally withdrew to Karangan in Mempawah to arrange a counterattack. However, in 1790, Panembahan Adiwijaya died before he could launch a counterattack and left 8 children from two wives.

Around 1794, the dispute between Mempawah and the Pontianak Sultanate grew worse because the Dutch succeeded in persuading Syarif Kasim Alkadrie to expand the Kadriyah Palace to the upper reaches of the river close to the borders of Mempawah. As a result, the war flared up again in which the Pontianak Sultanate was assisted by the Chinese in Pontianak. The stronghold of Mempawah, which at that time did not have a new king to replace Panembahan Adiwijaya, received support from the Dayak people and the Singkawang Sultanate. However, because the Pontianak Sultanate was fully supported by the Dutch, Mempawah was defeated in the war.

Subsequently, the Dutch appointed Syarif Kasim Alkadrie as the ruler of Mempawah with the title Panembahan Mempawah. His father, Sultan Syarif Abdurrahman Alkadrie, did not approve of the appointment because between Mempawah and the Pontianak Sultanate there were still close kinship ties. Sultan Syarif Abdurrahman Alkadrie's wife, Utin Candramidi, is the daughter of Opu Daeng Menambun, the first ruler of Mempawah. The appointment of Syarif Kasim Alkadrie as Panembahan was enshrined in the agreement dated 27 August 1787.

In 1808, Sultan Syarif Abdurrahman Alkadrie died and the Dutch appointed Syarif Kasim Alkadrie as ruler of the Pontianak Sultanate with the title Sultan Syarif Kasim Alkadrie. After Syarif Kasim Alkadrie became the Sultan of Pontianak, his position in Mempawah was replaced by his brother, Syarif Husein Alkadrie. However, Syarif Husein Alkadrie's power did not last long because the Dutch power in Mempawah began to falter due to the resistance led by two sons of Panembahan Adiwijaya, namely the crown prince, Gusti Jati, and his brother, Gusti Mas. When the Dutch were finally expelled from Mempawah, Gusti Jati was crowned the Sultan of Mempawah. The Dutch then retreated to the Pontianak Sultanate under the protection of Sultan Syarif Kasim Alkadrie.