How and why was Slavery outlawed?

Can you answer this question?