Slavery as a legal punishment for crimes