Though all the texts are fragmentary and show evidence of a continuous amendment of the law, it has been possible to trace the development of the law from Archaic proscriptions onwards, notably the diminishing rights of women and the increasing rights of slaves. Also, one can infer some aspects of public law. The code deals with such matters as disputed ownership of slaves, rape and adultery, the rights of a wife when divorced or a widow, the custody of children born after divorce, inheritance, sale and mortgaging of property, ransom, children of mixed (slave, free and foreign) marriages and adoption. The code makes legal distinctions between different social classes. Free, serf, slave and foreigner social statuses are recognized within the document. The code provides a measure of protection for individuals prior to their trial. Persons bringing suit are prohibited from seizing and detaining the accused before trial. Violations are punishable by fines, which vary depending on the status of the detained individual. Rape under the code is punished with fines. The fine is largely determined by the difference in social status between the victim and the accused. A free man convicted of raping a serf or a slave would receive the lowest fine; a slave convicted of raping a free man or woman would warrant the highest fine. Adultery is punished similarly to rape under the code but also takes into consideration the location of the crime. The code dictates higher fines for adultery committed within the household of the female's father, husband or brother, as opposed to another location. Fines also depend on whether the woman has previously committed adultery. The fines are levied against the male involved in the adultery, not the female. The code does not provide for the punishment of the female. The Gortyn law code grants a modicum of property rights to women in the case of divorce. Divorced women are entitled to any property that they brought to the marriage and half of the joint income if derived from her property. The code also provides for a portion of the household property. The code stipulates that any children conceived before the divorce but born after the divorce fall under the custody of the father. If the father does not accept the child, it reverts to the mother. The code devotes a great deal of attention to the allocation and management of property. Although the husband manages the majority of the family property, the wife's property is still delineated. If the wife dies, the husband becomes the trustee to her property and may take no action on it without the consent of her children.