Between the seventh and twentieth centuries , the Arab slave trade took 18 million slaves from Africa via trans-Saharan and Indian Ocean routes . Between the 7th and 20th centuries , Arab slave trade ( also known as slavery in the East ) took 18 million slaves from Africa via trans-Saharan and Indian Ocean routes .