Patterns in regulation and collaboration in the slave trade of West Africa