Petitioner seeks to prohibit the respondent court from proceeding with an action on file in San Bernardino County on the grounds that the Superior Court of Los Angeles County first acquired exclusive jurisdiction of the subject matter оf the action by reason of an earlier action filed therein. Service of summons in the Los Angeles action was obtained before service in the San Bernardino action.
A brief chronological outline of the proceedings in this matter is as follows -. Petitioner Cade filed an action in Los Angeles County on June 6, 1960, and served Loyalty Loan and Investment Company, Inc., one of the defendants in that action, on June 7, 1960. Loyalty Loan was doing business in Lоs Angeles County and other defendants served lived in or were doing business in that county. In the Los Angeles action, petitioner’s complaint alleged that the parties incurred the obligations upon which the action was brought in Los Angeles. It also alleged that petitioner owned in fee simple certain real property eneumbranced by trust deeds given to secure certain usurious loans. It alleged that the defendants promised to use the loаn funds to erect a building on petitioner’s real property located in San Bernardino County but that such promises had not been performed; that defendants had conspired to defraud her, charge her usurious interest rates and unlawfully acquire her real property, by reason of notes and trust deeds executed in Los Angeles County. A second cause of action was alleged which sought damages for loss of income by reason of defendants’ failure to complete the building on petitioner’s property. In the prayer to her complaint, petitioner sought a judgment declaring the notes secured by the trust deeds to be usurious and an order modifying these notes and trust deeds by striking therefrom their interest provisions and an order providing that the maturity dates on these loans could not be accelerated by reason of the nonpayment of interest thereon and sought a judgment for. trеble the interest paid.
Apparently petitioner obtained an injunction in the Los Angeles action restraining the trustee of the deeds of trust, *556 of which the Koslovskys and the Dyers are beneficiaries, from exercising the power of sale contained in the deeds of trust during the pendency of the Los Angeles action.
On September 29,1960, the real parties in interest, Dyer and Koslovsky (who are named as defendants in the Los Angeles action), filed an action in San Bernardino County and served petitioner with process in that action on the same day. In this San Bernardino action, the Dyers and Koslovskys aver that they are owners of certain trust deeds and seek to quiet title therеto. They also seek declaratory relief as to their rights with respect to the notes secured by these trust deeds and as to petitioner’s claims that these documents are fraudulent, usurious and the products of a conspiracy. The plaintiffs in the San Bernardino action also seek a declaration that they have the legal right to file a notice of default and direct the sale of the property to satisfy the notes secured by the trust deeds.
The plaintiffs in the San Bernardino action are defendants in the Los Angeles action and the notes and trust deeds involved in the two actions are the same.
On November 16, 1960, petitioner made a special аppearance in the San Bernardino action and moved to quash service therein on the grounds that the court lacked jurisdiction. Previously, petitioner had filed a plea in abatement (herein called a dеmurrer) in the San Bernardino action. On December 21, 1960, the San Bernardino court overruled petitioner’s demurrer and denied her motion and gave her 20 days to answer the complaint in the San Bernardino action. This petition fоr writ of prohibition followed.
Petitioner asserts that the subject matter of the Los Angeles action and the San Bernardino action is identical and contends that the rule that where two courts have concurrent jurisdiction over a class of cases the court which first assumes jurisdiction over the subject matter of a particular controversy has exclusive jurisdiction should be applied. (Citing 1 Witkin, California Procedure, § 194, p. 460;
Gorman
v.
Superior Court,
*557
The real parties in interest argue on behalf of respondent court that petitioner’s statement of the law is correct.
but
the Los Angeles action is local in nature and the courts of the county in which the property was located have exclusive jurisdiction, and sincе the real property to which the trust deeds pertain is located in San Bernardino, it is contended that San Bernardino was the county in which petitioner’s original complaint should have been filed and that .since it was filed in Lоs Angeles County that county acquired no jurisdiction thereby and the San Bernardino complaint was properly filed. (Citing
Thompson
v.
Moore,
Discussion
As is well known, California Constitution, article VI, section 5, provides that actions for the recovery of possession, of quieting title to or for the enforcement of liens upon real estate, shall be commenced in the county in which the real estate is located. Judgments in such actions not commenced in the county where the real estate is located are void.
(Rogers
v.
Cady,
“A corporation or association may be sued in the county where the contract is made or is to be performed, or where the obligation or liability arises, or the breach occurs; or in the county where the principal place of business of such corporation is situated, subject to the power of the court to change the place of trial as in other cases.”
The problеm presented by the instant writ seems almost identical to that of
Myers
v.
Superior Court, supra,
1. Where two tribunals have concurrent jurisdiction over the same parties and subject matter, the tribunal in which jurisdiction first attaches is entitled to retain it exclusively and prohibition lies to restrain the other tribunal from taking any further proceedings pending the complete exercise thereof.
2. The fact that the action filed in Calaveras County was one to try title did not entitle that court to procеed with the action where the subject matter of the action was essentially transitory because personal property was involved.
*559 3. The fact that the parties to the two actions were not entirely identical does not preclude petitioners from prosecuting their action to completion because the Sacramento County Superior Court has jurisdiction to bring in all the necessary parties.
4. It is also of little momеnt that the remedies sought by the two actions are not precisely the same. The Superior Court of Sacramento County has the power and duty to litigate all the issues and grant all the relief to which any of the parties may be entitled under the pleadings. The defendant in the Sacramento action may obtain the relief she seeks by filing her answer, denial or cross-complaint therein.
5. If both actions are allowed to proceed, the petitioner will be subjected to two trials over one controversy. A mere statement of the situation is sufficient to demonstrate that the entire matter should be heard and determined in one court and indicates that the issuаnce of the writ is necessary to prevent an injustice. Under these circumstances, the place of trial is governed by Code of Civil Procedure, section 395, covering “all other cases.” (See also 1 Within, California Prоcedure, 460-469, 707-715; 13 Cal.Jur.2d §§92 to 96, 99 to 100, pp. 604-613, 619-625; 51 Cal.Jur.2d, § 14, p. 30.)
Prom an examination of these authorities, and of the complaint in the Los Angeles action and its prayer, it affirmatively appears that plaintiff there sought a modification of the terms of the notes and trust deeds for alleged fraud and conspiracy in respect thereto, and also sought judgment for usury. This form of relief is in the nature of a personal action and transitory in character.
(San Fernando Valley C. of C.
v.
Thomas,
We conclude that when the Superior Court of Los Angeles County assumed jurisdiction over the subject matter, as of the time when the summons was served, the jurisdiction of said court was exclusive and the threatened invasion thereof presented a case for prohibition. (Code Civ. Proc., § 1102.)
The parties are still entitled to such rights as they may have under Code of Civil Procedure, section 396.
(Myers
v.
Superior Court, supra,
Let the peremptory writ issue as prayed.
Shepard, J., and Coughlin, J., concurred.
