Appeal from a judgment rendered upon the sustaining of a demurrer to a petition for a writ of mandate. The order sustaining the demurrer gave petitioner leave to amend. He failed to do so within the time allowed. He appeals from the judgment which followed.
The facts alleged are these:
Respondent Smutz is Zoning Administrator of Los Angeles. On January 17, 1944, petitioner acquired oil leases on 5 acres of contiguous land in Los Angeles in what is known as the “Wilmington Oil Field.” The 5 acres at all times have been “surrounded by public streets.” Under his leases, petitioner is the owner of the exclusive right to drill for oil on the property and is obligated to drill three wells thereon. He drilled one producing well. On March 30, 1944, the city council of Los Angeles adopted Ordinance No. 88,392, amending the then existing zoning ordinance (Ordinance No. 77,000, as amended), to create “an oil drilling district” of the prop *111 erty covered by petitioner’s leases. The effect of this ordinance was to authorize the Zoning Administrator to grant variances “for the purpose of drilling for or producing oil, gas or other hydrocarbon substances” on the property covered by petitioner’s leases, provided that “no variance shall be granted authorizing the drilling for oil or gas on any parcel of land in the City of Los Angeles which is less than one (1) net acre in area, and any such variance shall authorize only one well to be drilled to each acre.” (Ord. 77,000, as amended, § 12.22(a) (9); § 12.13(a)(8)(B).)
On September 1, 1945, while the last mentioned ordinance was in force, petitioner applied to the Zoning Administrator for a variance for the purpose of drilling a second oil well on the leased property and complied with the necessary requisites in connection with such an application and the erection and maintenance of an oil well derrick, including payment of fees and posting of bond. It was the duty, it is alleged, of the Zoning Administrator under Ordinance No. 77,000, as amended, section 12.13(2) (8) (B), to grant petitioner a variance.
Four days later, on September 5, 1945, the city council adopted Ordinance No. 89,616, purporting to be an emergency measure, amending Ordinance No. 77,000, as amended. This ordinance was approved by the mayor the same day. Ordinance No. 89,616 prohibited the drilling, maintenance or operation of more than one oil well in any “city block” in the district in which petitioner’s property is located, and contained a so-called “urgency” clause making it effective immediately. Ordinance No. 89,616 also prohibited the drilling or maintenance of more than one well in each “city block” in three other oil-well-drilling districts in the Wilmington Oil Field. The complaint does not disclose what areas were covered by these three districts except as they may be inferred from the notice of the Zoning Administrator next mentioned.
On September 20, 1945, the Zoning Administrator notified petitioner that his application had been dismissed “for lack of jurisdiction to grant a variance in the particular instance, ’ ’ and that the oil drilling district created by Ordinance No. 88,392 (the property covered by petitioner’s leases only) “in common with all of the Oil Drilling Districts northerly of the Pacific Coast Highway between Frigate Ave. and Avalon Blvd. are limited- by Ordinance No. 89616, approved September 5,1945, among other things, contains the specific condition *112 as follows: ‘In any City block in said district there shall not be located, drilled, maintained or operated more than one oil well. ’ There now exists in the southerly portion of the block in question a producing oil well known as Sam Bernstein Terminal No. 1. In view of the presence of this existing oil well and the provisions of paragraph 15 of Sub-section “a” Section 12.22 of the Los Angeles Municipal Code partially quoted above the Zoning Administrator is without authority to grant a variance permitting the drilling of an additional oil well'in the block in question and request for Zone Variance is hereby dismissed for lack of jurisdiction.”
Ordinance No. 77,000, as amended, and in force at all times mentioned, defines a “block” thus: “ ‘Block’ as used in this subsection shall mean that property entirely surrounded by public streets or by a public street or streets and a portion of the City Boundary Line and/or a portion of any subdivision tract boundary dividing subdivided land from unsubdivided acreage. ’ ’
Violation of the above mentioned ordinance is a misdemeanor. If petitioner should drill a second or subsequent well he will be subjected to criminal prosecution. The zoning ordinance as amended, and in particular Ordinance No. 89,616, is unreasonable, confiscatory, and oppressive as against petitioner, his property and his lessors and deprives him of valuable property rights without due process of law, deprives him of the equal protection of the law in violation of the constitutions of the United States and of California, is void and of no effect. The enforcement and threatened enforcement against him and his property is unlawful and without right or authority in law and constitutes an unlawful and unconstitutional invasion of his rights.
The portion of the Wilmington section of Los Angeles in all directions from petitioner’s property has been drilled and developed and is producing oil, gas and other hydrocarbon substances in paying quantities. The oil field is known as “Wilmington Oil Field.” (Maps of the Wilmington Oil Field are attached to the petition indicating oil wells heretofore drilled and now producing and indicating petitioner’s property thereon.) Subsequent to the drilling of the discovery well in Wilmington, the city council of Los Angeles, by numerous and successive ordinances, established oil drilling districts extending from the boundaries of Wilmington on the *113 east, in a general northwesterly direction, through the harbor and industrial area, through the town and business section and the residential section, to the westerly boundary of Wilmington. Throughout the area comprising approximately 140 blocks, oil wells have been drilled, placed on production and are now producing. Throughout the area variances were granted, and in nearly all of the city blocks in the area two or more oil wells were drilled, variances being granted on the basis of one well to each acre of area and each city block contained several acres in area. By reason thereof, property owners in the area have received their proportionate share of oil and gas produced as royalties from two or more oil wells in each block and the lessee, in turn, has received production and revenue from two or more oil wells in each block. Petitioner’s property, a city block in area, is only partially developed, the easterly one-half thereof being improved with small homes. The westerly one-half, fronting on Wilmington Boulevard, iss zoned for business, most of that portion of the block being unimproved. The southerly portion has an oil and gasoline filling station on it. The area of petitioner’s property and the area surrounding it have been included in oil well districts, oil wells have been drilled and are producing therein. All of said area is a part of the Wilmington Oil Field. Prior to the adoption of Ordinance No. 89,616, variances have been liberally granted by the zoning authorities of Los Angeles on the basis of one well to each acre of area and on the basis of several oil wells in each block throughout Wilmington and in business and residential areas of greater value, more densely populated and containing more improvements than the area in which petitioner’s property is located. The area in which his property is located comprises a small section of Wilmington in which oil wells have been drilled and are producing. Immediately to the north of said section and within a few blocks of petitioner’s property an oil tank farm and oil refinery are located and in operation. The oil wells drilled in the Wilmington Oil Field, described in the petition, overlie the same field and oil structure, and by reason of drainage therefrom, and unless petitioner is permitted to drill additional oil wells on the leased property, he and his lessors will suffer great loss and irreparable damage.
The petition prays for a writ of mandate directed against *114 the Zoning Administrator, commanding him to grant a variance permitting petitioner to drill an additional well on the property or to consider his application on the merits, in either ease subject to the provisions of Ordinance No. 77,000, as amended, prior to the adoption of Ordinance No. 89,616.
The demurrer was general.
Petitioner contends that the complaint states facts sufficient to constitute a cause of action and to support the issuance of a writ of mandate.
The first question presented is whether the doctrine of exhaustion of administrative remedies is applicable on the facts. Respondent says that the petition does not state facts sufficient to support the issuance of mandate because there is no allegation that appellant appealed from the order of the Zoning Administrator.
The charter of the city of Los Angeles, section 99, empowers the Board of Zoning Appeals to hear and determine appeals where it is alleged there is error or abuse of discretion in any determination of the Zoning Administrator in the enforcement of any zoning ordinance or ordinance regulating the use of property, and to hear and determine appeals from determinations of the Zoning Administrator granting or denying applications for variances.
It is now definitely established that a party aggrieved by the application of an ordinance must invoke and exhaust the administrative remedies provided thereby before he may resort to the courts for relief.
(Metcalf
v.
County of Los Angeles,
Neither the Zoning Administrator nor the Board of Zoning Appeals is a law-making body and neither has power to disregard or amend the ordinance under which it functions.
(Lee
v.
Board of Adjustments,
Metcalf
v.
County of Los Angeles,
Appellant contends that the petition alleges facts sufficient to entitle him to make proof that the ordinance is unconstitutional. We think it does. It is always open to interested parties to contend that the legislative body has gone beyond its constitutional power. The question is whether the police power can be stretched as far as was done in this case. In
Pennsylvania Coal Co.
v.
Mahon,
In
Matter of Application of Throop,
In
Del Fanta
v.
Sherman,
Pacific P. Assn.
v.
Huntington Beach,
The Huntington Beach case was followed in the late case of
Bernstein
v.
Bush,
“Here then we are more directly concerned with the contention of the petitioners that in its application to them the statute is discriminatory and therefore unconstitutional. They assert that such discrimination results from the fact that the enforcement of the regulations permits some owners of lands overlying the oil basin to exercise and enjoy their property right to take oil from the field, while the petitioners, who are property owners overlying the same oil supply are deprived of the use and enjoyment of their coequal right. The mere assertion of the problem suggests the answer.
“Under the law of this state the landowner has a property right in oil and gas beneath the surface, not in the nature of an absolute title to the oil and gas in place, but as an exclusive right to drill upon his property for these substances. His unqualified and absolute title attaches after the substances have been reduced to possession.
(Tanner
v.
Title Ins. & Trust Co.,
“In
Ohio Oil Co.
v.
Indiana,
Neither does the ordinance here “afford adequate means of protection as a substitute for the right to drill an offset well.” As in the Bush case, so here, under the facts alleged, the ordinance attacked amounts to a deprivation of petitioner’s right, coequal with the right of surrounding owners and lessees, to recover his fair share of the oil and gas from the common source of supply and, consequently, infringes upon the constitutional guarantees invoked. The discriminatory effect of the ordinance lies in its singling out for regulation a small area and imposing upon owners and lessees therein restrictions not applicable to other areas in the
*123
Wilmington Oil Field having, in many instances as shown by the maps attached to the petition, similar or even identical conditions.
(Reynolds
v.
Barrett,
The ordinance under consideration, as we have stated, defines a “block” as property entirely surrounded by public streets. An inspection of the maps attached to the petition discloses that the “blocks” surrounded by public streets in the Wilmington Oil Field consist of areas of varying sizes. Appellant’s “block” consists of 5 acres. Many “blocks” appear to consist of much less acreage. Appellant has a right to have the court hear evidence and determine whether this feature of the ordinance renders it unreasonable, arbitrary and discriminatory and, therefore, unconstitutional. (See
Romar Realty Co.
v.
Board of Com’rs,
Wilkins
v.
City of San Bernardino,
Many city blocks in the Wilmington Oil Field have more than one well to the block. Immediately across the street to the south of petitioner’s property there are two wells in the block, one of them near the north line. Under the allegations of the petitioner he will have the right to prove and may prove that these and other wells are draining from below his property. He will also.have the right to prove that the total production from a single well would be substantially less than the amount which would be recoverable if one or more additional wells should be drilled. The ordinance, in effect, grants a monopoly to owners and lessees having more than one well to a city block in the Field, especially where drainage from other property may take place. If the allegations of the petition are true (they must be assumed to be true on this appeal), it appears that Ordinance No. 89,616 has no relation to the ends for which the police power exists— to protect the public health, safety, morals or welfare.
In this connection it is a significant fact that at the time this emergency ordinance was adopted petitioner has an application pending with the Zoning Administrator. Petitioner made application to the Zoning Administrator on September 1, 1945. The amending ordinance was adopted by the Council and signed by the Mayor on September 5; 1945. In
Vine
v.
Zabriskie,
Petitioner is entitled to prove, as he alleges, the absence of a reasonable relationship with a substantial or definite public purpose in the imposition inherent in the prohibitive *125 ordinance considered in the light of the result to him. Valid issues of fact are tendered. Whether only one well to a block in the area in question is reasonáble is not something of which the courts may take judicial notice. The only way in which the validity of the ordinance can be determined is by a trial of the issues of fact tendered by the petition.
Judgment reversed.
Shinn, Acting P. J., and Wood, J., concurred.
Respondent’s petition for a hearing by the Supreme Court was denied February 19, 1948.
