On July 9, 1902, the Siamese government entered into an agreement with the British government to hand over Kedah, Perlis, Kelantan and Terengganu to British rule. The agreement was signed in Bangkok by Sir John Anderson (Straits Settlements) and the Siam Foreign Secretary. Among the conditions in the agreement, the Siamese government also had to hand over the Gerik district which had been taken by Raja Reman to the Perak government. The ceremony of handing over the Gerik area was held in Kroh on July 16, 1909.