Yes. The East-African slave trade, which even continues today.
There were and are two kinds of black Africans.
- Those who were sold into slavery by their brothers, most of whom are no longer in Africa.
- Those who sold their brothers into slavery for a handful of trinkets and beads, most of whom remain in Africa.
Obama's ancestors are clearly from category 2.