As a hired servant, and as a sojourner, he shall be with you; he shall serve with you until the Year of Jubilee:
then he shall go out from you, he and his children with him, and shall return to his own family, and to the possession of his fathers.
If he isn't redeemed by these means, then he shall be released in the Year of Jubilee, he, and his children with him.
If your brother, a Hebrew man, or a Hebrew woman, be sold to you, and serve you six years; then in the seventh year you shall let him go free from you.