Women were unable to marry, leave the country, or find a job without permission from male guardians. They were not allowed to testify in court, and automatically lost custody of their children in a divorce case. Sons, by law, inherited twice as much as daughters.