Paduka Sri Sultan Abdullah Mukarram Shah ibni al-Marhum Sultan Muhammad Jiwa Zainal Adilin Mu'adzam Shah II (Jawi: äïÃÂàóñàóÃÂ÷çàùèï çÃÂÃÂààÃÂñàôçàçèàçÃÂàñÃÂÃÂàóÃÂ÷çààÃÂàï ìÃÂÃÂç òÃÂàçÃÂùçèïÃÂààùøàôçàâ; died 1 September 1797) was the 20th Sultan of Kedah and reigned from 1778 to 1797. In 1780, he ordered the fortress of Kota Kuala Bahang that was destroyed by Aceh in 1619 to be rebuilt in exactly the same way as the original.
Burma and Siam were at war from 1759 to 1760, 1765 to 1767 and 1785 to 1786. The 1765 to 1767 war was especially destructive to Siam where Ayutthaya was sacked. While the war was ongoing, Kedah stopped sending bunga mas to Siam. After the war ended, Siam once again became a very powerful force and demanded Kedah to resume sending the bunga mas to Siam which led Sultan Abdullah to feel threatened by the demands. He wanted to preserve the sovereignty of Kedah and the welfare of the people. Sultan Abdullah sought military assistance from East India Company (EIC) and offered Penang Island to them if they were willing to protect Kedah from Siam. Francis Light knowing the importance of the Penang Port and the usage of military bases, saw the offer as irresistible although the EIC wanted to protect the trade interests with Siam.
Francis Light and Sultan Abdullah personally came to an agreement in 1786. Sultan Abdullah let Francis Light stay in Penang provided that he must provide military assistance for Kedah when needed.
The agreement stipulated that the:
On 11 August 1786, the Union Jack was raised in Penang. Francis Light named Penang as the "Prince of Wales Island" and their settlement as "George Town" after the British king, George III. This marked the start of British Malaya. In 1786 saw Siam conquered Patani, once again threatening Kedah. Sultan Abdullah demanded military assistance from the EIC as the agreement indicated. The EIC refused to provide assistance because Sultan Abdullah only agreed with Francis Light, not the EIC. It was stated that Light had no authority to speak on behalf of the EIC. Sultan Abdullah forced Light out of Penang. Light was reluctant to let go of Penang and offered payment for damages but was rejected by Sultan Abdullah.
In 1791, Sultan Abdullah with the help of Riau, Siak and Selangor, was able to prepare a naval attack to retake Penang. Francis Light asked for assistance from the British Military to attack the stronghold of Sultan Abdullah in Seberang Perai. Sultan Abdullah lost and was forced to agree to a peace treaty on 1 May 1791. With this treaty, the EIC officially annexed Penang. As a reward, EIC agreed to pay as much as 6,000 Spanish Dollars every year to Sultan Abdullah.