In the Ancient Near East, captives obtained through warfare often became slaves. This was seen by the laws in the Bible book of Deuteronomy as a legal form of slavery. But the Israelites were not allowed to enslave other Israelites. The Deuteronomic Code calls for the death penalty for the crime of kidnapping Israelites to enslave them.