Answer:
D. to bring an end to slavery.
Explanation:
It can't be option A, since they were the ones who freed the slaves to fight for them.
It can't be option B, because they were against slavery, and it can't be option C either, because they didn't need to send the slaves back to Africa to solve the problem.