Colonization of Africa
In the late 19th century, the European imperial powers engaged in a major territorial scramble and occupied most of the continent, creating many colonial territories, and leaving only two fully independent states: Ethiopia (known to Europeans as "Abyssinia"), and Liberia. Egypt and Sudan were never formally incorporated into any European colonial empire; however, after the British occupation of 1882, Egypt was effectively under British administration until 1922.
Berlin Conference
The Berlin Conference held in 1884–85 was an important event in the political future of African ethnic groups. It was convened by King Leopold II of Belgium, and attended by the European powers that laid claim to African territories. It sought to end the European powers' Scramble for Africa, by agreeing on political division and spheres of influence. They set up the political divisions of the continent, by spheres of interest, that exist in Africa today.
Independence struggles
Imperial rule by Europeans would continue until after the conclusion of World War II, when almost all remaining colonial territories gradually obtained formal independence. Independence movements in Africa gained momentum following World War II, which left the major European powers weakened. In 1951, Libya, a former Italian colony, gained independence. In 1956, Tunisia and Morocco won their independence from France.[65] Ghana followed suit the next year (March 1957),[66] becoming the first of the sub-Saharan colonies to be granted independence. Most of the rest of the continent became independent over the next decade.
Portugal's overseas presence in Sub-Saharan Africa (most notably in Angola, Cape Verde, Mozambique, Guinea-Bissau and São Tomé and Príncipe) lasted from the 16th century to 1975, after the Estado Novo regime was overthrown in a military coup in Lisbon. Rhodesia unilaterally declared independence from the United Kingdom in 1965, under the white minority government of Ian Smith, but was not internationally recognized as an independent state (as Zimbabwe) until 1980, when black nationalists gained power after a bitter guerrilla war. Although South Africa was one of the first African countries to gain independence, the state remained under the control of the country's white minority through a system of racial segregation known as apartheid until 1994.