The Code of Hammurabi (1754 BC) declares that a man must provide sustenance to a woman who has borne him children so that she can raise them:
137. If a man wish to separate from a woman who has borne him children, or from his wife who has borne him children: then he shall give that wife her dowry, and a part of the usufruct of field, garden, and property, so that she can rear her children. When she has brought up her children, a portion of all that is given to the children, equal as that of one son, shall be given to her. She may then marry the man of her heart.[3]