Pan-Africanism and the struggle of two ideologies