The French annexed Cochinchina and established a protectorate in Cambodia in 1862 and 1863 respectively. After the French took over northern Vietnam through the Tonkin campaign, the various protectorates were consolidated into one union in 1887. Two more entities were incorporated into the union: the Laotian protectorate and the Chinese territory of Guangzhouwan. The French exploited the resources in the region during their rule, but also contributed to improvements of the health and education system in the region. Nevertheless, deep divides remained between the natives and the colonists, leading to sporadic rebellions by the latter. After the Fall of France during World War II, the colony was administered by the Vichy government and was under Japanese occupation until March 1945, when the Japanese overthrew the colonial regime. After the Japanese surrender, the Viet Minh, a communist organization led by Hồ Chí Minh, declared Vietnamese independence, but France subsequently took back control of French Indochina. An all-out independence war, known as the First Indochina War, broke out in late 1946 between French and Viet Minh forces.