 A distinction was long made between "just" and "unjust" slavery, and whether a particular slave was "justly" or "unjustly" kept in that condition could depend on his religious status.The church long accepted the right of a person to sell himself or his children into slavery, which was sometimes fairly common, or to be sentenced to slavery as a criminal punishment.In addition, slavery was long regarded as essentially an issue of secular law.