When Kedah and Perak sought British help against Thailand , the British sided with the Thais to quell revolts anything for a quiet life .
The British accepted Kedah and Perak 's please for helping , and together they defeated the Thais .