19th century. The period between 1870 and 1914 is often called the Scramble for Africa, due to the competition between European nations for control of Africa. In 1830, France occupied Algeria in North Africa. Many Frenchman settled on Algeria's Mediterranean coast. In 1882 Britain annexed Egypt. France eventually conquered most of Morocco and Tunisia as well. Libya was conquered by the Italians. Spain gained a small part of Morocco and modern-day Western Sahara. West Africa was dominated by France, although Britain ruled several smaller West African colonies. Germany also established two colonies in West Africa, and Portugal had one as well. Central Africa was dominated by the Belgian Congo. At first the colony was ruled by Belgium's king, Leopold II, however his regime was so brutal the Belgian government took over the colony. The Germans and French also established colonies in Central Africa. The British and Italians were the two dominant powers in East Africa, although France also had a colony there. Southern Africa was dominated by Britain. Tensions between the British Empire and the Boer Republics led to the Boer Wars, fought on and off between the 1880s and 1902, ending in a British victory. In 1910 Britain united its South African colonies with the former Boer republics and established the Union of South Africa, a dominion of the British Empire. The British established several other colonies in Southern Africa. The Portuguese and Germans also established a presence in Southern Africa. The French conquered the island of Madagascar. By 1914, Africa had only two independent nations, Liberia, a nation founded in West Africa by free black Americans earlier in the 19th century, and the ancient kingdom of Ethiopia in East Africa. Many Africans, like the Zulus, resisted European rule, but in the end Europe succeeded in conquering and transforming the continent. Missionaries arrived and established schools, while industrialists helped establish rubber, diamond and gold industries on the continent. Perhaps the most ambitious change by Europeans was the construction of the Suez Canal in Egypt, allowing ships to travel from the Atlantic to the Indian Ocean without having to go all the way around Africa. In Asia, China was defeated by Britain in the First Opium War and later Britain and France in the Arrow War, forcing it to open up to trade with the West. Soon every major Western power as well as Russia and Japan had spheres of