In 1845, Thailand and Vietnam established a joint protectorate over the ancient Khmer Empire. With French support, Cambodia gained independence under King Norodom in 1864, but he had to accept the French protectorate of Cambodia and a strong French interference in the administration of his country.