I believe it would go, Ghana, Mali, then Songhai.
Answer:
to avoid falling under the influence of global powers.
It recognized and protected it. Slavery had been a major issue leading up the secession of the South, and Slavery was explicitly protected.
for some they started to see how unfair it was but for others it showed them why they "needed" slaves.