Fearing civil war, the Siamese Kingdom reconciled the two parties by appointing Tunku Bisnu as ruler of Setul, thus establishing the Kingdom of Setul Mambang Segara in 1808.[5] In 1892, the kingdom was reunified with Kedah Sultanate. However the assimilation of Siamese people and culture in Setul had weakened Kedah rule over it. The Anglo-Siamese Treaty in 1909 finally ended Kedah rule over Setul, as the Siamese and British agreed to exclude Setul from Kedah jurisdiction, thus separating Kedah and Setul.