A marriage can also be dissolved by means of judicial divorce. Either spouse can petition a qadi court to obtain judicial divorce, but they must have compelling grounds for dissolving the marriage. The court starts the process by appointing an arbitrator from each of their families in order to seek a mediated reconciliation. If this effort fails, the court adjudicates the dispute by apportioning fault for the breakdown of the marriage with the associated financial consequences. Examples of fault are cruelty; husband's failure to provide maintenance or pay the immediate installment of "mahr"; infidelity; desertion; moral or social incompatibility; certain ailments; and imprisonment harmful to the marriage. Judicial divorce can also be sought over violations of terms stipulated in the marriage contract. Different legal schools recognized different subsets of these grounds for divorce. The Maliki school, which recognized the widest range of grounds for divorce, also stipulates a category of "harm" (ḍarar), which gave the judge significant discretion of interpretation.