Serfdom emancipation in Europe: circa 1800, as late as 1864 in Poland.
Slavery abolition in US: circa 1800 in the North, as late as 1865 in the South.
https://en.wikipedia.org/wiki/Serfdom#Dates_of_emancipation_...
https://en.wikipedia.org/wiki/Slavery_in_the_United_States
https://en.wikipedia.org/wiki/Timeline_of_abolition_of_slave...
The dates there for Russia etc are accurate, but seem very late for the western countries -- in some places it essentially disappeared centuries before it was legally abolished. (I don't have a great link but e.g. "Serfdom was de facto ended in France by Philip IV, Louis X (1315)," https://en.wikipedia.org/wiki/History_of_serfdom )
Barbary corsair slave-raiding also only stopped in 1830, when France decided to invade.
https://www.encyclopedia.com/international/encyclopedias-alm...
https://www.encyclopedia.com/international/encyclopedias-alm...
https://www.encyclopedia.com/history/encyclopedias-almanacs-...
What is the reason of that?
All this data can be found from the source I linked to above.
https://www.npr.org/2017/05/03/526655831/a-forgotten-history...
Think about it - in most cities the entire shape of our urban landscape is defined by the movement of white people to avoid living near black people. Similarly, the reason public transit in most of the US is near non-existent is b/c people do not want buses and trains bringing 'other' people to where they live.
Also if you want to look at the wealthiest 1% as outliers, only 3% of these outliers are black [0]
0: https://www.nytimes.com/2012/01/15/business/the-1-percent-pa...