Racism has a long history beginning with segregation in antiquity and has been used to justify crimes against humanity such as slavery and colonialism. While slavery was abolished in Spain in 1886 and racial segregation laws were repealed in Cuba in 1868, racial discrimination and racist ideologies persist today in violations of basic human dignity and human rights. International treaties have sought to end racism but it remains a global issue.