arose in Shan Rebellion of Phrae in 1902, declaring for Lanna traditions and killing Central Siamese officials. Chaophraya Surasak Montri put down Shan Rebellion in 1902. In April 1905, King Chulalongkorn outright abolished slavery. Also in 1905, Chulalongkorn replaced traditional corvée forced labor system with modern universal conscription through Military Conscription Act of August 1905 with recruits serving a limited time. First modern Siamese law, the Penal Code, was promulgated in 1908. Compilation of modern Siamese law would take nearly four decades, only finished in 1935.Influence of Colonial Party at Paris pressed for more Siamese concessions during the negotiations, in which Prince Devawongse was the Siamese representative. In 1904, Siam had to cede Mluprey, Champasak and Sainyabuli on right (west) bank to France in return for French abandonment of Chanthaburi but the French proceeded to hold Trat instead. Anglo-French Entente Cordiale in 1904 confirmed mutual recognition of Siamese independence by both powers. In 1907, French and Siamese delegates met to demarcate Franco-Siamese borders and it was decided that France returned Trat and Dansai to Siam in exchange for northwestern Cambodia; Battambang and Siemreap, being ceded to French Indochina and with the French agreed to curtail exertion over French Asian subjects in Siam. Lastly, Siam decided to relinquish the Northern Malay sultanates including Kedah, Kelantan, Terengganu and Perlis to British Malaya in Anglo-Siamese Treaty of 1909. These lost territories were on the fringes of the Siamese sphere of influence, which Siam had only exerted some degree of control, was insignificant to the Thai aristocracy at the time, although the 1893 crisis sparked a crisis of confidence by the Thai elite on extraterritoriality, but the concept of the "lost territories" was not created until by Thai military nationalists after the Siamese Revolution of 1932. Modern Siam (1905–1932) From kingdom to modern nation (1910–1925) One of Rama V's reforms was to introduce a Western-style law of royal succession, so in 1910 he was peacefully succeeded by his son Vajiravudh, who reigned as Rama VI. He had been educated at Sandhurst military academy and at Oxford, and was an anglicized Edwardian gentleman. Indeed, one of Siam's problems was the widening gap between the Westernized royal family and upper aristocracy and the rest of the country. It took another 20 years for Western education to permeate the bureaucracy and the army. There had been some political reform under Rama V, but the king was still