Francis Light personally have come to an agreement with Sultan Abdullah in the year 1786. Sultan Abdullah let Francis Light to stay in Penang provided that he must provide military assistance for Kedah when needed.