In 1863, King Norodom, who had been installed by Siam, sought the protection of Cambodia from Siam by French rule. In 1867, Rama IV signed a treaty with France, renouncing suzerainty over Cambodia in exchange for the control of Battambang and Siem Reap provinces which officially became part of Siam. The provinces were ceded back to Cambodia by a border treaty between France and Siam in 1907.