Brazil was the other country that was the last to disallow slavery. Slavery ended in Cuba in 1886 and Brazil in 1888. The scientific notions underlying the positivist method of thinking were a big reason why slavery became illegal in these countries.