Why was slavery abolished?