The concept of pan-Africanism designed to create unity and solidarity among Africans emerged in the struggle against enslavement and colonization. These are the ideas of pan-Africanism that laid down the basis first for the Organization of African Unity which was later replaced by the African Union.