Which of the following was 1 of the 2 African states that resisted European imperialism?