 In Hammurabi, a woman can apply for a divorce but must prove her moral worthiness or be drowned for asking.It is enough in all codes for two unmarried individuals engaged in a sexual relationship to marry.However, if a husband later accuses his wife of not having been a virgin when they married, she will be stoned to death.