When Kedah and Perak sought British help against Thailand , the British sided with the Thais to quell revolts anything for a quiet life .
Kedah and Perak vowed revenge against the British and led a guerilla insurgency against them .