By the terms of the separation agreement the custody of the daughter was given to the mother, but the father was to be permitted to have the daughter in his custody “ for a day at a time, on such dates, at such places, and under such circumstances and in such surroundings as the parties or them attorneys may from time to time agree upon, or in case they are unable to agree, then as directed by the Court.” If the parties did not agree as to the conditions under which the girl should be with the father it was not a breach of the contract. Such disagreement was fairly within the view of the contract, and it was left for the- court to determine that matter. We find, therefore, that the plaintiff did not break the agreement in that respect. The defendant neglected to make the payments provided for by the agreement, and in that respect was the first party to breach it.
The appellant contends that this action cannot be maintained, as the plaintiff, after the breach of the agreement, brought another action for separation upon the same cause of action, and thereby irrevocably elected an inconsistent remedy, and he relies upon Randolph v. Field (165 App. Div. 279), which at first sight seems to sustain his contention to quite an extent. There are, however, broad distinguishing features between that case and this. There the complaint in the action for separation alleged that the defendant had repudiated the agreement and indicated clearly that plaintiff elected to treat the agreement as at an end, and to rely upon her marital rights instead of upon the agreement. The court evidently considered that her election to treat the agreement as at an end was reasonable and that she could obtain her rights in the action for separation. Here the agreement of separation contained this provision: “hieither of the said parties of the first and second part shall bring any action or proceeding against the other, based upon any of the acts or misconduct which are alleged in *358the pleadings in the pending action between them, which is now to be discontinued, to have heretofore taken place on the part of either of said parties.” This provision was undoubtedly inserted in the contract for a purpose. The action for separation was settled, but if either party broke the agreement we may assume, without deciding, within Randolph v. Field (supra) that the other party, in the absence of this provision, might have renewed the action. This clause in the contract could only be given effect if one of the parties violated the agreement. It shows that the old action and the cause of action were by the contract obliterated, and that the rights of the parties must rest upon the agreement itself, or upon facts occurring thereafter. When the defendant violated the agreement upon his part plaintiff had an election of remedies; either to sue upon the agreement itself, or to go to the erring husband and claim her support, and, if he refused it, to bring another action for separation based upon such refusal. She could not, however, go back to the original cause of action which had been settled and canceled by the agreement.
By the marriage .the husband became absolutely charged with the duty of supporting his wife, and they could make no agreement relieving him from that obligation. Such an agreement would be against the public policy of the State. While she remained a faithful wife she could do no act or make no contract which would deprive her and the public of the right to insist that he must support his wife. If she could not lose that right by a direct contract, she cannot lose it by her indirect action. Where husband and wife have actually separated and cannot live together, an agreement of separation may be made by which the husband is to provide for her support, and the court, if it is satisfied that the agreement was understandingly made and that the circumstances make it proper, will treat it as valid and give it force. This agreement of separation, made in settlement of an action for separation, was apparently understandingly made, and seems to be reasonable, and should be given full force and effect. It being the only means defendant had provided for plaintiff’s support, the court will not allow it to be abrogated, except by an arrangement understandingly made which tends to bring about *359her support. It cannot be abrogated by indirection. She cannot be deprived of her only means- of support by a mistake of her lawyer. After the defendant has failed to keep the agreement made for plaintiff’s maintenance, if she was over zealous and sought too many remedies,' she cannot thereby lose all reasonable claim for support.
The parties are not before the court as strangers. They are husband and wife, and the question involved is whether he has performed his duty of supporting her. They have made a proper agreement that her support shall be furnished by a monthly payment to her. That agreement must stand until defendant provides some other adequate means for her support, with her approval, or until the courts otherwise direct.
Strangers who are dealing with each other at arms’ length must pursue their remedies understandingly, and by an election of one remedy a party deprives himself of the advantage of another inconsistent remedy. But that does not apply to an action of this kind between these parties. The plaintiff cannot elect to waive her support any more than she can contract to do so. She can only lose her support under this agreement by an act understandingly done which results in otherwise securing it to her. She cannot, however, ask the court to go in different directions at the same time. She cannot pursue two inconsistent remedies, one based upon the theory that the contract is in existence, and another upon the theory that there is no contract. When she seeks to avail herself of both remedies at the same time, the court must stay one action until the other is determined, and if she fails in one the fact still remains that the defendant is her husband and owes to her and the public the duty of supporting her. There is grave doubt whether the second action for separation can bring about any practical advantage to the plaintiff. It is evident that she must rely upon the separation agreement, or upon the failure of the defendant after the breach of it to receive and maintain her as his wife. It may be that her attorney, concluding that there was a doubt about the defendant’s financial responsibility, may have felt that a judgment of separation could be enforced by proceeding for contempt, and he may have felt that that was the better proceeding for *360the plaintiff to take. But he made a mistake. The contract deprives her of that right, as the cause of action was probably extinguished by it. She has brought an action for separation without merit, but has not elected between two remedies available to her.
As we have said, if she cannot release her husband from the obligation by contract, her attorney cannot do so by a mistake. We are not hampered by the pleadings. A court of equity is always interested in seeing that the rights of the wife are observed by the husband, and has always exercised a peculiar jurisdiction over the marriage relation and the parties thereto, when disputes arise as to the support and maintenance of the wife. When the wife brings a husband into the Supreme Court on the allegation that he is failing to support her, and he denies the obligation, her complaint and his answer put in exercise all of the powers of the court; and when the facts are known the court may make such judgment as justice and equity require. The parries having agreed that §200 a month is a reasonable sum for her to receive and for him to pay for her support, the judgment in question only calls upon him for that payment. Concededly he owes to the public and to her the duty of supporting her, and a reversal of this judgment upon technical grounds would seem unnecessary, and a violation of the rule that upon appeals we are to disregard technical errors and decide according to the justice and merits of the controversy. It is the policy of the law to avoid unnecessary litigation. The reversal of this judgment only invites and makes necessary further litigation between these parties. Her acts, resulting from the mistake of her attorney, should not interfere with the provision for her support which the parties have agreed upon, and which the court deems reasonable. By the reversal of this judgment we are sacrificing substance to form. The trial court should have required as a condition of the hearing of this action that the action of separation be discontinued, and that the allowance of counsel fees made in that case should be credited upon the amount, due upon the separation agreement, and upon the filing of such stipulation should have given the plaintiff judgment for the balance due on the agreement. The situation *361seems to require that this judgment he reversed, with costs to the appellant to abide the event, with the direction that the trial of the action be stayed until the termination of the action for separation, unless the plaintiff files a stipulation discontinuing that action and consenting that the counsel fees paid by order of the court shall be treated as a payment upon the judgment, and if such stipulation is filed within twenty days from the entry of the order then the judgment should be so modified, and as modified affirmed, with costs.
Woodward, J., concurred.
Judgment and order reversed, without costs, and the complaint dismissed, with costs.