On October 8, 1964, plaintiff, Marjorie E. Goodwine, began an action for separate maintenance against her husband, Don F. Goodwine. A writ of attachment was levied upon defendant’s real property in the County of Los Angeles, giving the trial court quasi-in-rem jurisdiction.
(Baldwin
v.
Baldwin,
*483 Plaintiff and defendant were married in Reno, Nevada, on April 1, 1955. They lived in California until March 1963, when they moved to Mexico to live in retirement. Defendant obtained a resident’s visa and became a domiciliary of Mexico. Plaintiff obtained a tourist visa because of local regulations, but she also intended to become a permanent resident of Mexico. On September 3, 1964, plaintiff left defendant and went to Los Angeles to reside with her sister, allegedly because he treated plaintiff with extreme cruelty. Plaintiff then brought the action for separate maintenance, seeking support of $1,000 per month, attorney’s fees, and costs out of defendant’s property within the state.
Defendant contends that the trial court has no jurisdiction in an action for separate maintenance when neither party is domiciled in the state. There is no merit in this contention. In an action for divorce, domicile is dispositive, since “the domicile of one spouse within a State gives power to that State ... to dissolve a marriage wheresoever contracted.”
(Williams
v.
North Carolina II,
Plaintiff contends that since defendant moved to dismiss the action, he made a general appearance giving the trial court personal jurisdiction over him, rather than quasi-in-rem jurisdiction. We agree with plaintiff that defendant made a motion to dismiss. Even though the request for dismissal is found only in the title of defendant’s motion, the motion rests on a theory that the court lacked subject-matter jurisdiction when neither party was domiciled in the state. Defendant thus challenged the subject-matter jurisdiction of the court, as well as its personal jurisdiction over him. We disagree with plaintiff, however, that a motion to dismiss for lack of subject-mattter jurisdiction is a general appearance. “ ‘ [W]here the defendant appears and asks some relief which can only be granted on the hypothesis that the court has jurisdiction of cause and person, it is a submission to the jurisdiction of the court as completely as if he had been regularly served with process, whether such an appearance by its terms be limited to a special appearance or not.’ ”
(Security Loan & Trust Co.
v.
Boston & S. R. Fruit Co.,
Defendant contends that even if the trial court has quasi-in-rem jurisdiction, it properly refused to exercise it under the doctrine of
forum non conveniens.
The trial court, however, has not yet considered whether the doctrine of
forum non conveniens
applies to this case, since it treated defendant’s motion as being “for the sole purpose of objecting to the court’s jurisdiction.” Since the court has jurisdiction of the subject matter, it can now consider the applicability of that doctrine, which is accepted in this jurisdiction
(Price
v.
Atchison, T. & S.F. Ry. Co.,
Let the peremptory writ issue as prayed.
McComb, J., Peters, J., Tobriner, J., Peek, J., Mosk, J., and Burke, J., concurred.
