This is a proceeding in mandamus tо compel the respondent court to dismiss an action pending therein for failure to bring it to trial within five years after the filing of the complaint. (Code Civ. Proc., see. 583.)
The action, brought by the people of the State of California by and through the Department of Public Works to condemn a right of way for highway purposes, was filed and summons issued on December 27, 1933. There were named as defendants approximately six individuals, ten corporations, five John Does and four fictitiously named corporations. Petitioner herein was not designated as a defendant under the name of Bayle-Lacoste & Co., Inc., a corporation. There is an allegation in the complaint that “Parcel No. 4 (Described as Parcel No. 5 in resolution of condemnation in plaintiff’s complaint) is owned by defendant John Lacoste.” An answer and subsequent amended answer were filed by the executors of the estate of John Lacoste, also known as John B. Lacoste. Over five years and ten months later, as petitioner alleges: “ ... on October 2, 1939, petitioner, sued in said *640 action numbered civil 130405 under the fiсtitious name of Black-White Company, a corporation, appeared in said action by filing its answer therein. ’ ’ A fourth amended answer of Bayle-Lacoste & Co., Inc., petitioner herein, prays the judgment and decree of the superior court as follows: ‘ ‘ That this court ascertain and assess and award damages to this defendant in the sum of Sixty-five thousand seven hundred and seventeen and 97/100 Dollars ($65,717.97), together with interest” etc. It is averred by petitioner that no stipulation was entered into in the condemnation proceeding between it and plaintiff waiving the provisions of Code Civ. Proc., sec. 583.
Respondents appeared herein by demurrer and answer, one of the grounds of demurrer being “That it cannot be ascertained from the allegations contained in said petition whether or not there was an implied waiver of the provisions of section 583 of the Code of Civil Procedure, State of California, as between said petitioner and the plaintiff in the proceeding referred to in Paragraph II thereof.”
Section 583 is applicable in a suit in which the state is а party plaintiff
(Superior Oil Co.
v.
Superior Court,
6 Cal. (2d) 113 [
The determination of the question herein cannot ignore principles of law and equity аs they bear upon the actions of the parties.
(Lake
v.
Superior Court,
39 Cal. App. (2d) 247 [
Further exceptions appear as follows: A partial trial within five years and a continuance by consent of the parties is not within the statute
(City of Los Angeles
v.
Superior Court,
15 Cal. (2d) 16 [
Section 583 provides that a stipulation must be in writing
(Miller & Lux, Inc.,v. Superior Court, supra),
but there is no provision that the writing must be in any particular form. When it definitely appears from any written document or documents that a waiver of the five year period is intended, it is sufficient.
(Bank of America
v.
Superior Court, supra,
citing
Miller & Lux, Inc.,
v.
Superior Court,
*642
supra; Rio Vista Min. Co.
v.
Superior Court,
If the stipulation may be in the form of a letter,- and the conduct and intent of the parties may be considered, it seems reasonable to conclude that the voluntary appearance of a party after five years has elapsed may indicate a waiver of the provisions of the section.
A condemnation action is a proceeding
in rem.
The filing of the complaint, and not the issuance of summons, vests the court with jurisdiction. Jurisdiction of the subject matter is not conferred by consent of the parties. Its origin is in the provisions оf the Constitution (Const., art. I, sec. 14; art. XII, see. 8), to be exercised in the manner provided in Part III, Title YII of the Code of Civil Procedure. “ . . . jurisdiction over the person may be acquired by service of process, by consent, by general appearance, or by waiver through a failure to seasonably object.”
(Harrington
v.
Superior Court,
All actions must be dismissed if summons has bеen served and no answer filed, plaintiff having failed to have judgment entered within three years after the service of summons. (Sec. 581a.) An action may in the discretion of the court be dismissed for want of prosecution when there has been a failure to bring it to trial within two years after its filing (sec. 583), but all actions may be prosecuted, in the same manner as if summons had been issued and served (Code Civ. Proc., sec. 581a), if appearance is voluntarily made within three years.
In
Lindsey
v.
Superior Court,
However, this is not a petition involving the dismissal of an action after summons served and no аnswer filed within three years, nor one involving the discretionary power of the court to dismiss if not brought to trial within two years, nor one in which an appearance is voluntarily made within three years. *644 This ease presents the problem not of jurisdiction over the subject matter for five years, but lack of jurisdiction over a particular defendant, petitioner herеin, through non-service of summons, until such defendant voluntarily appeared after the five year period. The Lindsey case is cited to indicate that litigants may not close their eyes to substantial facts and rely upon mere technicality. The section under consideration was not intended arbitrarily to terminate the proceedings at the end of five years under all circumstances. (Christin v. Superior Court, supra.)
A voluntary appearance generally of a defendant is a waiver of service of summons and of any defect therein. (Code Civ. Proc., sec. 416;
Carpenter
v.
Pacific Mut. L. Ins. Co.,
13 Cal. (2d) 306 [
A party may appear though he is not named in the complaint. In
Farmers etc. Nat. Bank
v.
Peterson,
5 Cal. (2d) 601, 606 [
In the condemnation proceeding here sought to be dismissed, the defendant, petitioner herein, accepted the jurisdiction of the superior court by filing its answer. It is true that such answer was filed over five years after the date of the commencement of the action. It is also true that defendant was not specifically named in the complaint, but voluntarily appeared and alleged that it was ‘ ‘ sued herein as Black-White Company, a corporatiоn.” Its conduct indicated an intent to submit the issues on the merits, otherwise it could have appeared and requested a dismissal upon the ground that the summons had not been served within three years. (Code Civ. Proc., see. 581a.) But the defendant evidenced its intention *645 to present a defense by filing an amended answer. As stated, •the record shows that the fourth amended answer is now on file. Litigants should not be permitted to inject themselves into a controversy, raise issues therein and then change position and seek to avoid the contest. Assuming that petitioner on its first appearance was entitled to raise a jurisdictional question, there appears to be a waiver by failure to seasonably object. (Harrington v. Superior Court, supra.)
Granting that in certаin circumstances a defendant is not required immediately to move under the provisions of see. 583, but may avail himself of the rights conferred by the provisions of that section at any time after the expiration of five years from the commencement of the action, still we are confronted with another phase of the facts in ’this case, namely, that the dеfendant prays for damages as a tenant under an oral lease of the parcel of land in controversy upon the allegation that the improvements thereon are necessary to the operation of its business. In an ordinary action, the claim for damages would properly appear in a cross-complaint, but in eminent domain рroceedings a special provision permits a defendant to set forth in an answer the estate or interest claimed in the parcel of property involved, and the amount of damages accruing as a result of a condemnation judgment. (Code Civ. Proc., see. 1246.) Thus, a defendant is allowed to pray for affirmative relief in an answer. Whether the dоcument filed is designated an answer or a cross-complaint, if it asks for affirmative relief in damages the general rule is that the action may not be dismissed without the consent of the party from whom damages are sought.
It was the privilege of the plaintiff, by service of summons, to identify the parties designated under fictitious names. If any party appeared improperly, plaintiff had a right to move to strike his pleading from the file.
(Mercantile T. Co.
v.
Stockton etc. Co.,
Thе record herein discloses that other parties named as defendants in connection with the particular parcel of property here involved, stipulated in writing to a continuance of the trial beyond the five year period. Had the case proceeded to trial, and it appeared that a complete determination of the controversy could not be had without the presence of petitioner herein, and Bayle-Lacoste as an interested party did not make application therefor, it would have been the duty of the trial court to have ordered such party brought in and if necessary to that end, to have ordered amended and supplemental pleadings. (Code Civ. Proc., sec. 389.) In
Ambassador Petroleum Co.
v.
Superior Court,
*647
Another feature of the present proceeding is worthy of mention, namely, the futility of a dismissal of the action. The jurisdiction of the subject matter was obtained by filing the complaint. Jurisdiction of the petitioner herein was not obtained until it appeared voluntаrily in the superior court proceedings and filed its answer.
(Harrington
v.
Superior Court, supra; People
v.
Southern Pacific R. R. Co.,
17 Cal. App. (2d) 257 [
It is our conclusion that where it is legally impossible to bring condemnation proceedings to trial within the statutory period designated in section 583, the voluntary appearance of a defendant, subsequent to the five year period as fixed by the filing of the complaint, waives the provisions of that section. In addition, as to this proceeding, as evidenced by the filing of at least four amended answers, the petitioner is, or claims to be, a necessary and indispensable party to thе action. The filing of an amended complaint may not prolong the period
(Rosefield Packing Co.
v.
Superior Court,
4 Cal. (2d) 120 [
Petitioner’s demurrer to the answer to the petition for the writ is overruled. Respondents’ demurrer to the petition is sustained, the alternative writ is discharged and the peremptory writ denied.
