Petitioners, William R. Harden and Pearl B. Harden, his wife, Chester N. Harden and Virginia Hart Harden, his wife, seek a writ of prohibition to restrain further proceedings in an eminent domain action brought against them and other property owners by the city of Hayward.
Petitioners own certain land in Alameda County, lying adjacent to, but outside the corporate boundaries of, the city of Hayward. On June 28, 1954, petitioners obtained a building permit from the county of Alameda which author *633 ized them to erect a department store building upon the land owned by them. Immediately after the building permit had issued, petitioners contracted with licensed contractors for the erection of their building at a cost exceeding $100,000. Construction was from 25 to 30 per cent completed when the City Council of Hayward, a municipal corporation of the sixth class, on October 5, 1954, passed a resolution authorizing the city attorney to proceed by eminent domain to ■ acquire the property of petitioners together with that belonging to others for the purpose of establishing an off-street parking area. Upon the passage of this resolution, the city notified petitioners to desist from further construction of the building and petitioners thereupon ceased construction. When over two weeks elapsed without the filing of an action in eminent domain, petitioners again began construction of the building. The city then filed on October 26, 1954, its complaint in eminent domain to which petitioners demurred. The demurrer was overruled on November 22, 1954, and petitioners were given 10 days within which to answer the complaint. This petition for a writ of prohibition followed.
in addition to the above-mentioned facts, petitioners allege that all work has been stopped on the building; that the partially constructed building is in danger of being lost or destroyed by reason of the elements, theft or vandalism and that if such destruction occurs, they will suffer a loss in excess of $40,000; that the county of Alameda has ordered them to support laterally the masonry walls of the partially constructed building because of the abandonment of the construction pending the determination of the condemnation suit. Petitioners also allege that the loss they will suffer from the destruction of the existing structure is not compensable as damages in an eminent domain action and that if forced to support laterally the masonry walls, they will suffer additional expenses. It is contended that the city’s complaint shows, on its face, that the action in eminent domain is not maintainable because a city of the sixth class may not exercise the power of eminent domain as to property outside its corporate limits; that if the superior court proceeds with the action, petitioners will suffer great loss; that an appeal from an adverse judgment is not an adequate remedy, and that a writ of prohibition should therefore issue. The city filed a memorandum in opposition, contending that the petition should be denied because an adequate remedy exists by way of appeal from the judgment; and that the complaint is not *634 defective on its face because a city of the sixth class may exercise the power of eminent domain outside its corporate limits.
We said in
Rescue Army
v.
Municipal Court,
The city contends that prohibition will not lie in that petitioners have a speedy and adequate remedy by way of appeal. As was held in
Gorbacheff
v.
Justice's Court,
We said in
Providence Baptist Church
v.
Superior
*635
Court,
With regard to the merits of the jurisdictional question involved, it appears that the city of Hayward, a city of the sixth class, acting under the general law, sought by resolution to institute an action in eminent domain to acquire property outside its corporate limits for off-street parking. Primarily, it should be noted that the city contends that petitioners failed to demur on the ground that the court had no jurisdiction or that the plaintiff had not the legal capacity to sue. (Code Civ. Proc., § 430.) Petitioners demurred on the ground (I) that the complaint failed to state facts sufficient to state a cause of action against defendants; and (II) that plaintiff’s complaint was uncertain, (III) ambiguous, and (IV) unintelligible because (V) “it cannot be ascertained from plaintiff’s complaint on file herein whether plaintiff is attempting to exercise the right of eminent domain in its capacity solely as a city of the Sixth Class, as the same is defined under the Constitution and Laws of the State of California, or whether it is exercising or attempting to exercise eminent domain as a ‘City’ under the Vehicle Parking District Law of 1943, the Parking Law of 1949 or the Parking District Law of 1951.” The complaint alleged that plaintiff was a municipal corporation of the sixth class; that its legislative body had adopted a resolution by which it sought to condemn certain real property (described) owned by defendants located outside of its corporate boundaries; that the use for which the property was needed was one authorized by law. We said in the Rescue Army case,
supra,
that the jurisdiction of the trial court must be challenged in that court “by demurrer, motion, plea or other objection of some kind.” A demurrer reaches only matters appearing on the face of the pleading to which it is directed (21 Cal.Jur., p. 94) ; and a demurrer to the jurisdiction of a court of general jurisdiction lies only where the want of jurisdiction appears affirmatively on the face of the complaint
(Doll
v.
Feller,
Petitioners did demur on the ground that the complaint
*637
failed to state a cause of action. It is ordinarily said that the sufficiency of the complaint will not be inquired into on application for a writ of prohibition (41 Cal.L.Rev., 124 et seq.;
Lange
v.
Superior Court,
If it appears that there was, as contended by petitioners, neither express statutory authority, nor case law, authorizing the city to proceed in eminent domain against property located outside its corporate limits, it would seem that prohibition would lie inasmuch as the trial court would then have no jurisdiction to proceed in the eminent domain action against these petitioners. In
Redlands High Sch. Dist.
*638
v.
Superior Court,
The city contends that it has the implied power to prosecute an eminent domain action against property outside its municipal boundaries and relies upon the
City of Pasadena
v.
Stimson,
The city relies on section 1238.1 of the Code of Civil Procedure which provides:
“Subject to the provisions of this title, the right of eminent domain may be exercised in behalf of the following .public uses:
“1. Off-street parking. Off-street motor vehicle parking places, including property necessary or convenient for ingress thereto or egress therefrom, established by any city or city and county for public use.”
The city’s argument is that the above section of the Code of Civil Procedure, taken together with sections 37351 and 37353 of the Government Code, authorize it to acquire property outside its corporate boundaries. Section 37351 provides in part: 1
‘
The legislative body
may purchase, lease, or receive such personal property and real estate
situated
inside or oiitside
the city limits as is necessary or proper for municipal purposes. ...” (Emphasis added.) Section 37353 provides in part: ‘ ‘ The legislative body may acquire property needed for: (a) Parking motor vehicles.” It is claimed that these sections and section 1001 of the Civil Code show that the subject of boundaries is extraneous to the exercise of the power of eminent domain except for the situation set forth in subdivision 2 of section 1241. Section 1241 provides that when two-thirds of the legislative body of certain municipal corporations, including cities, pass a resolution or ordinance finding that the public interest and necessity require the taking, that finding is conclusive evidence on the question of necessity as to property within the city. The section also provides that “said resolution or ordinance shall
not
be such conclusive evidence in the ease of the taking by any county, city and county, or incorporated city or town, or school district, or irrigation, public utility, or water district, of property
located outside of the
territorial limits thereof.” (Emphasis added.) It is contended that by “clear implication,” the sections authorize the exercise of the power outside the cor
*641
porate limits. Another section relied upon by the city is section 40404 of the Government Code which provides in part that “The legislative body may acquire private property by condemnation or otherwise when it is necessary to take or damage such property for: (f) Any other purpose authorized by law.” It should be noted that in none of the sections cited by the city is the taking of property outside the corporate boundaries specifically authorized. In
City of Madera
v.
Black,
A liberal construction of the word “purchase” found in section 37351 of the Government Code could, conceivably, lead to the conclusion that the city of Hayward had statutory authority to exercise its power of eminent domain outside its corporate limits. However, if we are to follow the rule of strict construction found in the case of
City of Madera
v.
Black, supra,
Let the writ issue as prayed for.
Gibson, C. J., Shenk, J., Traynor, J., Schauer, J., and Spence, J., concurred.
