The one nation in Africa that successfully resisted European rule was Ethiopia.
Ethiopia is the only case among African countries that has never been colonized, maintaining its independence during the partition of Africa, except for a period of five years (1936-1941), when it was under Italian occupation.