By 1822 there was a rise in the population of the British territories caused by an influx of Malays displaced by the invasion.[8] The Burney Treaty of 1826 allowed the Siamese view of their rights to prevail.[9]