I don't think this was the British. (Not to apologize for them - they certainly made things worse, not better.) Sudan sits on a historical chattel slavery route that stretches back to Roman times. It's hallmarked by the Northern population raiding the south, along racial lines.
Scholarly article for reference if you want to learn more: https://www.jstor.org/stable/827888