How were slaves kidnapped?

Slaves were sometimes prisoners of war captured by other African tribes. Later, tribes were raided by other Africans and Europeans to capture slaves.