Aрpeal by plaintiffs from an order granting defendant Lawrence K. Klinker’s motion to squash and dismiss an order directing him to show cause why he should not *690 provide for the support and maintenance of plaintiff Myrtle Nell Klinker, who will be referred to as plaintiff.
Plaintiff and defendant were married in 1923. In 1941 plaintiff was declared to be mentally incompetent and committed to a state hospital. In 1945 defendant obtained a divorce from plaintiff in Nevada on the ground that for more than two years she had been an insane person.
On January 25, 1949, plaintiff by and through her guardian commenced the present action against defendant, alleging: the foregoing facts; that the Nevada court was without jurisdiction and the judgment of divorce a nullity; that plaintiff and defendant were the owners of specified property; and that defendant had wilfully failed to support plaintiff. The complaint alleged that an actual controversy existed between plaintiff and defendant as to (1) the status of defendant and plaintiff as husband and wife, (2) the obligation of defendant to support plaintiff, and (3) the status of the rights of the parties in certain properties. The complaint further alleged defendant had an income of $2,500 a month, he was well able to support plaintiff, and $200 a week was reasonably required therefor. The prayer was that it be adjudged (1) defendant and plaintiff are husband and wife; (2) defendant has a present and continuing obligation to provide for plaintiff’s support and maintenance; (3) plaintiff have general rеlief.
Defendant answered, denying in large part the allegations of the complaint. The answer alleged: “that it appears upon the allegations of plaintiffs’ complaint that said defendant was relieved from such obligation by the judgment of the District Court of the Eighth Judicial District of the State of Nevada, as set fourth [sic] in Paragraph VII of plaintiffs’ complaint.” The cause was tried. At the trial it was stipulated: 1. The Nevada decree is a final and valid decree of divorce. 2. The Nevada decree did not in any way affect the right of plaintiff to support by defendant. 3. Defendant is obligated to support plaintiff if he has the ability so to do and she is in need of support or maintenance and care. 4. At this time she is not in need of such care but has funds of her own sufficient to care for her. 5. The court shall keep continuing jurisdiction to award her support if and when it shall be claimed she is in need thereof and defendant has the ability to pay.
On August 23, 1949, a judgment was rendered. The judgment recites that “the parties having orally stipulated in open Court to material facts, determinative of the issues, *691 and all parties having waived findings of fаct,” the matter was submitted. The judgment decreed: (1) The Nevada decree of divorce is valid. (2) “ [T]he divorce having been granted upon the ground of defendant’s insanity, plaintiff there, Lawrence K. Klinker was not thereby relieved of the obligation imposed by law, to support his wife, Myrtle Nell Klinker; that there is a continuing obligation upon the said Lawrence K. Klinker to provide for Myrtle Nell Klinker’s support, maintenance and medical care within his ability to provide the same to the extent that her necessities may require, and to the extent that Myrtle Nell Klinker’s separate estate does not produce revenue sufficient to meet her needs.” (3) “ [A]s of July 27th, 1949, Myrtle Nell Klinker does not require support or medical care at the hands of Lawrence K. Klinker; but the Court reserves jurisdiction to make in future such orders from time to time as may be proper upon due notice and proper showing of need therefor requiring said defendant Lawrence K. Klinker, to furnish said support.” No appeal was taken and the judgment became final.
On August 3, 1953, an affidavit was filed in this action which averred that plaintiff’s income was insufficient to meet her demаnds and asked that defendant be ordered to pay to her a reasonable sum for her support and maintenance and for attorney’s fees. An order issued directing defendant to show cause “why that certain Order, made by said Court on the 23rd day of August, 1949, and more particularly described in the affidavit of the Oakland Bank of Commerce for this Order to Show Cause in Re Modification thereof, and a copy of which affidavit shall be served upon you attached to a copy of this Order, should not be modified and further, different or additional Orders made, as requested in said affidavit.” When the order to show cause came on for hearing defendant moved to dismiss it on the grounds: 1. No state will directly enforce a duty of support created by the law of another state. 2. The action is for separate maintenance and such action cannot be maintained unless the parties are husband and wife. 3. The court had no power to reserve jurisdiction to make future orders for plaintiff’s support. 4. The affidavit for the order to show cause was insufficient. The motion was granted “upon the grounds of lack of jurisdiction of this court to рroceed . . . upon said grounds.” Plaintiffs appeal.
As grounds for reversal plaintiffs urge: 1. The Nevada *692 decree did not abrogate the duty to support the insane spouse.. 2. The judgment in the present action is res judicata as to the duty of defendant to support plaintiff. 3. Defendant cannot be heard to say that he will accept the benefit of the judgment in this case holding his divorce in Nevada valid and then say that that рart of the judgment which decrees that he must continue to support plaintiff is invalid. 4. The court had jurisdiction to hear and determine the order to show cause. Defendant counters: 1. The support provisions of the 1949 judgment herein are void for lack of jurisdiction; (a) an existing marriage is a jurisdictional prerequisite to a judgment compelling one spouse to support the оther; and (b) plaintiffs’ argument for res judicata is based upon erroneous premises. 2. The court exceeded its power in purporting to reserve jurisdiction to make future orders for plaintiff’s support.
The action, in addition to being for support and for an adjudication of property rights, was one for declaratory relief. The complaint alleged that an actual controversy existed between plaintiff and defendant; defendant contended the Nevada decree was valid and plaintiff contended the contrary; defendant contended he was under no obligation to support plaintiff and plaintiff contended he was so obligated. “Any person . . . who desires a declaration of his rights or duties with respect to another . . . mаy, in cases of actual controversy relating to the legal rights and duties of the respective parties, bring an action in the superior court for a declaration of his rights and duties in the premises, . . . He may ask for a declaration of rights or duties, either alone or with other relief; and the court may make a binding declaration of such rights or duties, whether or not further relief is оr could be claimed at the time. The declaration may be either affirmative or negative in form and effect, and such declaration shall have the force of a final judgment.” (Code Civ. Proc., § 1060.) The complaint stated a cause of action for declaratory relief.
(Maguire
v.
Hibernia Sav. & Loan Soc.,
The doctrine of res judicata is that an existing final judgment on the merits of a cause rendered by a court of competent jurisdiction is, in all subsequent actions, conclusive of the rights of the parties thereto and of their privies on all material issues which were or might have been determined.
(French
v.
Rishell,
In the present proceeding the issues which defendant seeks to have adjudicated are identical with the ones presented on the trial of the action; there was a final judgment on the merits—the only questions left open for future determination should they arisе were the necessities of plaintiff for support, maintenance, and medical care and defendant’s ability to provide the same; and the party against whom the plea is asserted was a party to the prior adjudication. The judgment is res judicata on the issues tried and adjudicated, i.e., that the Nevada decree is valid; that defendant was not relieved by the Nevada decree of the obligation to support and maintain plaintiff; and that there is a continuing obligation on his part *694 to provide for her support and maintenance within his ability to do so to the extent that her necessities may require.
An action for declaratory relief is a suit in equity.
(Zimmer
v.
Gorelnik,
" Since the needs of plaintiff may become greater or less and the ability of defendant to pay may not remain constant . . . the court properly exercised its discretion in reserving jurisdiction to make a fair and equitable order in the future.” (See also
McCaleb
v.
McCaleb,
Furthermore, the provisions of the judgment involved here *695 were agreed to by stipulation. A judgment rendered on a stipulation is conclusive of everything adjudicated by it, and it may not be collaterally attacked by a party thereto. (14 Cal.Jur. 878, § 13.)
The contention that an existing marriage is a jurisdictional prerequisite to a judgment compelling one spouse to support the other cannot be sustained where the divorce is granted on the ground of insanity. The Nevada law makes insanity existing two years a ground for divorce, and provides that “a decree granted on this ground shall not relieve thе successful party from contributing to the support and maintenance of the defendant.” (2 Nev.Comp.Laws (Supp. 1931-1941), § 9460.) In
Herzog
v.
Herzog,
“The quoted clause left unimpaired the legal duty of the plaintiff to support the defendant, and such duty can be enforced in her behalf by whatever procedure and in whatever forum might be available. State v. Brown,213 Ind. 118 [11 N.E.2d 679 , 113 A.L.R. 1243]." 1
California law makes incurable insanity a ground for divorce (Civ. Code, § 92) and provides that:
*696 “No decree granted on this ground shall reliеve the spouse granted the divorce of any obligation imposed by law as a result of the marriage for the support of the spouse against whom the divorce is granted.” (Civ. Code, § 108.) The power of the Legislature to continue the duty of support is well established. (Morganti v. Morganti,99 Cal.App.2d 512 , 515 [222 P.2d 78 ].)
Speaking of the California statute in
Dribin
v.
Superior Court,
“It would seem apparent that the purposes of section 108 are (1) to provide the manner of prоof where the ground for divorce is the incurable insanity of the defendant spouse, and (2) to provide a means of securing continuing financial support for the insane spouse. . . .
“ ‘Furthermore proof of financial lability as set forth in the second sentence of the second paragraph of said section becomes wholly superfluous to the attainment of the second object thereof, since by reason of the specific terms of the preceding sentence no decree granted on the ground of incurable insanity can relieve a spouse of “any obligation imposed by law as a result of the marriage for the support” of the insane spouse. (See Civ. Code, § 155, and Welf. & Inst. Code, §§ 5077, 5105.6.)’ ”
The court also observed (p. 350) :
“Here the state has guarded against finanсial dependency of the insane spouse by providing that the divorce of an insane spouse does not relieve the other spouse of ‘any obligation imposed by law as a result of the marriage for the support’ of the insane spouse.’’ (See also Wirz v. Wirz,96 Cal.App.2d 171 [214 P.2d 839 ,15 A.L.R.2d 1129 ].)
The Indiana law contains the same provision. In
State
v.
Brown,
“Clause 8 contains the provision that a decree of divorce granted on the ground of insanity shall not ‘relieve the successful party from contributing to the support and maintenance of the defendant. ’ And appellant contends that the foregoing is incomplete and unenforceable since there is no method provided to carry into effect the provision for support and maintenance. But there is no apparent need for an enforcing provisiоn. The effect of the ‘support and maintenance ’ provision is to leave unimpaired the legal duty of the *697 one securing a divorce under clause 8 to support and maintain the divorced spouse; and such duty can be enforced on behalf of the insane person by whatever procedure would be available prior to the grant of the divorce.”
(See also
Sandhagen
v.
Vogel,
It is not the law that Californiа will not enforce a duty to support an insane spouse created by the law of another state, as defendant asserts. We rebel at the suggestion. So long as the enforcement of a right obtained under the law of another state would not. be prejudicial to recognized standards of morality and to the general interests of the citizens of this state, California will enforce the right on the basis of comity.
(Biewend
v.
Biewend,
One of the basic duties and fundamental obligations of mankind recognized by the law is a man’s obligation to support his wife. The failure to meet that obligation is universally made a crime. The fact that the wife is insane does not relieve the husband of that obligation. While the legislatures of many of the states have widened the possibility of divorce by the еnactment of statutes authorizing the granting of a divorce on the ground of incurable insanity, thus seeking to prevent a permanent union of a sane spouse
*698
with an insane one who does not offer hope of recovery, no one of such statutes relieves the husband of his obligation to support his former wife. That obligation remains the same after the divorce as it was before and may be enforced in any appropriate proceeding. (44 C.J.S. 174, § 73; see
Foy
v.
Foy,
We hold that the superior court had jurisdiction to hear and determine the order to show cause.
The sufficiency of the affidavit on which the order to show cause was issued is questioned. This was not a ground on which the order was dismissed. It was dismissed solely on the ground of want of jurisdiction. The affidavit must be read in connection with the allegations of the cоmplaint. Together, they are sufficient to show the needs of the plaintiff and the ability of defendant to pay.
(Cf. Loeb
v.
Loeb,
The order appealed from is reversed with directions to the superior court to hear and determine the order to show cause.
Shinn, P. J., and Wood (Parker), J., concurred.
Notes
All the statutes making insanity a ground for divorcе appear to be hedged with appropriate restrictions for the support, maintenance, and protection of the incompetent spouse. Arkansas—Stats. 1947, Ann., title 34, ch. 12, § 34-1202, subd. 8. Colorado—Rev.Stats. 1953, ch. 46, § 46-1-1, subd. 9. Connecticut—Gen.Stats. 1949, title 60, ch. 367, §§ 7327, 7332. Delaware—1953 Del. Code Ann., title 13, ch. 15, § 1522, subd. 10. Georgia—Code of Georgia Annotated 1932, title 30, § 30-102, subd. 11, as amended by Act of 1951, p. 744. Idaho—Code 1947, title 32, §§ 32-801— 32-805. Indiana—Burns Ind.Stats.Ann. 1933, title 3, ch. 12, § 3-1201, subd. 8. Kansas—Gen.Stats. 1949, ch. 60, art. 15, § 60-1501, subd. 11. Kentucky—Ken.Rev.Stats. 1953, ch. 403, § 403.020, subd. 5(d). Maryland—Ann. Code of Maryland 1951, art. 16, § 35. Minnesota—Stat.Ann., ch. 518, § 518.06, subd. 7. Mississippi—Code Ann. 1942, title 12, ch. 2, § 2735, subd. 12. Montana—Rev.Code 1947, title 21, ch. 1, § 21-103, subd. 1 and 21-104. New Mexico—New Mex. Stats. 1953, ch. 22, art. 7, §§ 22-7-7, 22-7-11. New York—Domestic Relations Law, § 7, subd. 5; Cons. Laws, ch. 14, art. 2. North Carolina—Gen.Stats. (Recompiled 1950), ch. 50, § 50-5, subd. 6. Oklahoma—Stats. 1951, title 12, ch. 22, § 1271, subd. 12, as amended by Laws 1953, p. 59, § 1. Oregon—Rev. Stats. 1953, title 11, ch. 107, §§ 107,030(7), 107.100(1) (c). Utah-1953 Code Ann., title 30, ch. 3, § 30-3-1, subd. 9. Vermont—Stats. 1947, title 14, ch. 157, §§ 3205-3212. Wyoming—Comp.Stats. 1945, ch. 3, art. 59, § 3-5935. See also Hawaii—Rev.Laws, title 32, ch. 296, §§ 12210(4), 12223.
