A Supreme Court judge Friday ordered the release of a woman jailed for refusing to accept her husband's terms for a divorce, a court spokesman said.

A rabbinical judge on Thursday had ordered the woman jailed for two weeks. The 62-year-old woman, whose name was not given, has been fighting a long battle with her husband in the rabbinical court in Petah Tikva, near Tel Aviv.Naamat, the women's branch of Israel's trade union movement, petitioned the Supreme Court to secure the woman's release.

While religious courts have primary jurisdiction in divorce cases in Israel, the Supreme Court can intervene if the rabbinical courts are alleged to have acted unreasonably.

Under Jewish religious law, neither spouse can obtain a divorce unless the other agrees. In this case, the rabbinical judge, Rabbi David Ohayon, ordered the woman to accept her husband's terms.