After the Fall of Ayutthaya in 1767, the Northern Malay Sultanates were freed from Siamese domination temporarily. In 1786, British trader Francis Light managed to obtain a lease of Penang Island from Sultan Abdullah Mukarram Shah on behalf of East India Company in exchange for military support against the Siamese or Burmese. However, Siam re-exerted control over Northern Malay Sultanates and sacked Pattani. Francis Light, however, failed to secure military assistance for the Malay states against Siam and Kedah came under Siamese suzerainty. King Rama II of Siam ordered Noi Na Nagara of Ligor to invade Kedah Sultanate in 1821. Under the Burney Treaty of 1826, the exiled Kedah Sultan Abdullah Mukarram Shah was not restored to his throne. He and his armed supporters then fought in a series of war known as Perang Musuh Bisik for his restoration over twelve years (1830–1842).