 The BEIC with the help of British military made a preemptive strike and attacked Kedah's navy and fort in Seberang Perai, damaging them.The Sultan signed a ceasefire agreement in 1791 with Light.On 6 June 1800, George Alexander William Leith and Sultan Dziaddin Mukarram Shah II signed a peace agreement and allowed the BEIC to occupy Seberang Perai and name it as "Province Wellesley".