Enslavement of other Africans in the Atlantic slave trade

q1

Why did the African leaders participate, along with Europeans, in the enslavement of other Africans in the Atlantic slave trade? What factors played a role in their decisions to participate?