https://en.wikipedia.org/wiki/History_of_slavery
Slavery was relatively rare in pre-civilisation hunter-gatherer populations,[2] as it develops under conditions of social stratification.[3] Slavery operated in the first civilizations (such as Sumer in Mesopotamia,[4] which dates back as far as 3500 BC). Slavery features in the Mesopotamian Code of Hammurabi (c. 1860 BCE), which refers to it as an established institution.[5] Slavery was widespread in the ancient world. It was found in almost every ancient civilization, including the Roman Empire. It became less common throughout Europe during the Early Middle Ages, although it continued to be practiced in some areas. Both Christians and Muslims captured each other as slaves during centuries of warfare in the Mediterranean.[6] Islamic slavery encompassed mainly Western and Central Asia, Northern and Eastern Africa, India, and Europe from the 7th to the 20th century. The Dutch, French, Spanish, Portuguese, British and a number of West African kingdoms played a prominent role in the Atlantic slave trade, especially after 1600.
Although slavery is no longer legal anywhere in the world, human trafficking remains an international problem. An estimated 25-40 million people were enslaved as of 2013, the majority of these in Asia.[7] During the 1983–2005 Second Sudanese Civil War people were taken into slavery.[8] Evidence emerged in the late 1990s of systematic child-slavery and trafficking on cacao plantations in West Africa.[9]