Appeal by petitioner from a judgment (de nominated judgment and order) denying him any relief, entered on the hearing of an order to show cause for a preliminary injunction in an action for a writ of mandate and an injunction.
Petitioner, a taxpayer and resident of the city of Long Beach, filed a “Petition For Writ of Mandate” against the • city of Long Beach, the members of the city council, the members of the board of harbor commissioners, the city treasurer, the city auditor, the city attorney, and two of his deputies, seeking, among other things, to compel them to “cease” transferring funds from the city’s “Gas Revenue Fund” to its “General Purpose Fund” and to retransfer funds from its “General Purpose Fund” to the “Gas Revenue Fund,” on the ground that they were trust funds which could be used only for harbor purposes and not for general municipal purposes.
*874
The petition is predicated upon the decision in
City of Long Beach
v.
Morse,
The petition prayed that an alternative writ of mandate be issued requiring defendants to immediately “desist” from transferring or diverting “trust funds” into its “General Purpose Fund” for general municipal purposes “or for any purposes whatever excepting for harbor purposes in furtherance of the terms of the trust under which it holds title to certain tidelands which were the subject of the mandate proceedings” in the Morse case; to retransfer all funds heretofore paid into the “General Purpose Fund” and, in the event of any deficiency, to repay the amount which had been unlawfully transferred from the “Gas Revenue Fund” until such time as the trust has been fully restored and “all funds which properly belong td said trust fund placed in the proper fund and held exclusively for the purpose of said trust.” Although the petition is denominated one for writ of mandate, it is obvious that it seeks injunctive relief as well.
An order issued, requiring defendants to show cause why they should not be restrained from transferring from the “Gas Revenue Fund” to the “General Purpose Fund” “monies derived from the proceeds or income from the tidelands,” to be used for general municipal purposes or any purposes except those set forth in the trust conveyance and under which the city holds title to the tidelands. Defendants filed a return to the order to show cause. The return, among other matters, challenged the legal capacity of the petitioner to maintain the action and the sufficiency of the petition, and alleged that there was another action pending between the same parties for the same cause. Attached were an affidavit of the superintendent of the Long Beach municipal gas department and a specimen contract under which the city, through its board of harbor commissioners, sells the natural *876 gas derived from wells located on the tidelands and submerged lands and retains the “resulting dry gas.”
The affidavit and the specimen contract reveal the following: The municipal gas department was created in 1923. The municipal gas system serves the entire area of the city of Long Beach with both domestic and industrial gas for fuel purposes. It is self-supporting, and the gas rate structure is maintained at a sufficiently high level to insure a substantial surplus profit. Since 1932 substantial sums of surplus moneys have been transferred from the gas department fund to other city funds to .meet some of the general expenses of the city. The gas which the municipal gas department distributes to its customers is obtained from several sources. Since 1939, the city has purchased “considerable” gas from independent suppliers and, in addition, by virtue of various contracts entered into between it and purchasers of natural gas produced from wells located on city-owned land and from wells located on tidelands granted to the city by the state, it has had “available” large quantities of dry gas. “ [A]s of June 30, 1949, the City had the right to receive a quantity of dry gas equal to the resulting surplus dry gas derived from processing of the natural gas processed by the purchasers of the natural gas from 574 wells in the harbor area,” of which 506 are located on the tidelands.
Under its contracts for the sale of natural gas derived from wells located on the tidelands, the purchaser pays the city 62 per cent of the “gross proceeds derived .' . . from the sale by it of natural gasoline, liquefied gas and other products, excepting ‘resulting dry gas.’ ” Under the contracts, 2 the *877 city elects to take all of the “resulting dry gas” (which is that gas remaining after deducting unavoidable plant loss, unavoidable shrinkage, plant fuel reasonably used only in the collection of the natural gas and in the extraction of gasoline and other products from the natural gas, and the dry gas returned to the respective parcels from which the natural gas is recovered); in the event the city does not elect to take all, or any portion, of the “resulting dry gas,” the purchaser is entitled to sell it and, as “additional compensation for said natural gas purchased, ’ ’ is required to pay the city therefor 75 per cent of the total gross proceeds derived from the sale. Under the contracts, monthly written reports are required to be filed by the purchaser with the board of harbor commissioners, showing the amount of natural gas received, the amount of natural gas sold and the proceeds derived from such sales, the proportion of gasoline extracted from the natural gas, the “disposition of the total dry gas derived from the natural gas received by Purchaser from the wells on each of said parcels of land . . . (separately, by parcels),” and a statement of the total compensation, both in cash and in kind, due under the contract.
After hearing arguments on the order to show cause, the court entered a judgment reading in part, “the Court . . . finds that an injunction and writ of mandate should not be granted for the reason that the case of
City of Long Beach
v.
Morse,
In the absence of a general demurrer in return to an order to show cause for a preliminary injunction, the question for decision on the hearing is whether, balancing the respective equities of the parties, the defendant should or should not be restrained pendente lite from exercising rights claimed by him. In such a case the granting or denial of a preliminary injunction does not amount to an adjudication of the ultimate rights in controversy. All questions decided on the hearing of the order to show cause are open for review on the final hearing.
(Marsh Bros. & Gardenier
v.
United States Fidelity & G. Co.,
The “Gas Revenue Fund” was created by amendment in 1937 of the charter of the city of Long Beach. (Stats. 1937, pp. 2924 et seq.) All moneys received from the use, sale or distribution of gas in connection with the operation of the gas department are deposited with the city treasurer to the credit of the “Gas Revenue Fund.” The moneys in this fund may only be used to defray the expenses of operating the gas department, to pay the principal and interest on all outstanding municipal bonds issued, or to be issued, by the city for or on account of the gas plant and system of supply and distribution, and for the establishment of a fund to be known as the “Gas Reserve Fund,” the latter fund to be used for such costs or expenses of operation as have not been provided for in the budget of the city or gas department. Surplus moneys in the “Gas Revenue Fund” may, by a vote of two-thirds of the city council, be used for general expenses of the city. (Stats. 1937, p. 2924 et seq.; Charter of Long Beach, § 215-a.) It is alleged, and not denied, that the “General Purpose Fund” is used for the payment of general expenses of the city.
Prior to 1939, the State of California by grants to the city of Long Beach transferred all of its right, title and interest in and to the tidelands and submerged lands within the boundaries of that city, in trust for certain uses and purposes connected with the development of Long Beach Harbor. (Stats. 1911, p. 1304, as amended in 1925 (Stats. 1925, p. 235) and
*879
in 1935 (Stats. 1935, p. 793); 2 Deering’s Gen. Laws, 1944, Act
4401; City of Long Beach
v.
Marshall,
Accordingly any revenues derived from the sale of dry gas processed from natural gas derived from oil wells located on tidelands and submerged lands granted by the state are impressed with the trust and are trust funds. That the city recognizes this fact is evident from its contracts whereby the purchasers of natural gas derived from these lands, in the event they sell the dry gas, are required to pay, as additional compensation therefor, 75 per cent of the gross proceeds derived from sales of such dry gas, which sums must be paid into the “Harbor Revenue Fund” or into the “Tideland Oil Fund,” as the case may be, to be used in furtherance of the trust purposes. The fact that under its contracts the city elects to take all of the dry gas processed from natural gas derived from the tidelands and submerged *880 lands, in lieu of receiving a percentage of any sales of such dry gas by the purchaser, does not alter the situation. A fortiori, if the city, in turn, as it does, sells this dry gas and receives revenue therefrom, such revenue is likewise impressed with the trust and becomes trust funds, which may not be used for general municipal purposes, but only in furtherance of trust purposes. Although respondent contends otherwise, it is obvious from the specimen contract before us that the amount of dry gas obtained from the natural gas from tidelands and submerged lands and allocated to the city’s gas department is determinable, and the money paid therefor is traceable and capable of segregation.
Respondent challenges the legal capacity of petitioner to maintain the instant proceeding, arguing in effect that since these funds are claimed to be impressed with a public trust, any enforcement thereof must be by the state. An action to obtain a judgment restraining and preventing any illegal expenditure of the funds of a city may be maintained against an officer, agent, or other person acting in its behalf by a citizen resident therein who has within one year before the commencement of the action paid a tax to such city. (Code Civ. Proc., § 526a;
Mines
v.
Del Valle,
Predicated on the fact that the petition alleges that the money transferred to the “General Purpose Fund” was expended for general municipal purposes, respondent argues: “If it be true that said money so transferred was expended for general municipal purposes, such money would otherwise have been raised by taxation and appellant as a taxpayer would clearly not be injured but would, in fact, be benefited thereby, ’ ’ therefore, he does not have a cause of action. This argument is answered in
Mines
v.
Del Valle, supra,
Appellant contends that the issues in
Abrams
v.
City of Long Beach,
which the trial court found “seeks the same relief as that applied for herein, ’ ’ are not substantially similar to those involved here. We agree. In order that a second action be abated because of the pendency of a prior action, it is elementary that the issues in the two actions must be substantially the same. In determining this question, the test applied is whether a final judgment in the first action could be pleaded in bar as a former adjudication.
(Lord
v.
Garland,
The Abrams case seeks injunctive relief on behalf of taxpayers. The first count seeks to enjoin the city of Long Beach, the city council, the board of harbor commissioners, the auditor and the treasurer from expending any funds received as royalties from the development of oil, gas, and other hydrocarbon substances underlying the tidelands and submerged lands granted the city by the state on the ground that defendants have no right, title or interest in the lands and the minerals lying thereunder because the United States is possessed of paramount rights. The second count seeks to enjoin “the defendants” from enclosing public lands belonging to the United States because they are trespassers and are acting in violation of an act of Congress. The third count charges the board of harbor commissioners with “misusing and misappropriating” the funds of the city, and seeks an accounting “of all the books of the Harbor Commissioners” on the ground that the “Board of Harbor Commissioners is diverting the wet gas derived from the operation of said property to the Wilmington Gas Treating Plant and then causing the same to be sold in the City of Long Beach and without accounting for said funds in the Harbor Department of the City of Long Beach, but permitting said funds for the general account of the City of Long Beach.” The complaint prays judgment (1) that the city of Long Beach, the city council, the board of harbor commissioners, the auditor, and the treasurer be enjoined from expending any funds received from the operation of said lands “for any purposes whatsoever”; (2) that “defendants” be permanently enjoined from drilling, producing or selling any products of any kind extracted from said lands; (3) that the board of harbor commissioners be required to make a full accounting of a.ll moneys received from the illegal operations of the city and that the funds be permanentlv impounded.
That the two actions are totally dissimilar is at once apparent. The third count of the Abrams action, relied on by respondents as supporting the trial court’s finding, charges that the board of harbor commissioners is diverting certain wet gas (natural gas) and causing it to be sold in the city “without accounting for the funds.” It seeks an accounting only from the board of harbor commissioners. The present proceeding seeks (1) to enjoin “the defendants” (including the city council, city treasurer, and auditor) from transferring *883 certain trust funds in the 11 Gas Revenue Fund, ’' derived from the sale of dry gas, to the “General Purpose Fund” to be used for general municipal purposes unconnected with the trust purposes for which said funds may be used, and (2) the retransferance and restoration of such funds so transferred and that such funds ‘ ‘ [be] placed in the proper fund and [be] held exclusively for the purpose of said trust.” The court, therefore, erred in its finding that the present proceeding should be abated by reason of the pendency of the Abrams case.
Respondents contend that the auditor, the city attorney, assistant city attorney, and deputy city attorney were improperly joined as parties defendant. Among the duties of the auditor are to audit the funds of the city and if he discovers any irregularities to file a written report thereof ; all demands and claims must be presented to and audited by him and he must satisfy himself “whether the payment thereof is authorized by law”; if any demand or claim is payable out of a fund under the jurisdiction of any board and he disapproves the same, it must be transmitted to such board, together with the auditor’s reasons for disapproval. (Stats. 1937, pp. 2931-2934.) It is obvious that the auditor is a proper party defendant. We have not been referred to any statute, nor have we found any, prescribing any duty of the city attorney or his deputies with respect to the transfer or retransfer of the moneys in question. The charter provisions fixing the duties of the city attorney do not prescribe any such duty. (Stats. 1921, p. 2115.) The city attorney, the assistant city attorney and the deputy city attorney are not proper parties defendant.
The judgment, insofar as it denies plaintiff any relief against the city attorney, the assistant city attorney and the deputy city attorney, is affirmed. In all other respects it is reversed for further proceedings not inconsistent with the views herein expressed.
Shinn, P. J., and Wood (Parker), J., concurred.
A petition for a rehearing was denied February 14, 1951, and respondents’ petition for a hearing by the Supreme Court was denied March 22, 1951. Schauer, J., and Spence, J., voted for a hearing.
Notes
The city of Long Beach sought a writ of mandate to compel its treasurer to transfer revenue derived from the production of oil and gas from tidelands and submerged lands claimed by the city under legislative grants from the State of California, from its “Harbor Bevenue Fund” to its “Public Improvement Fund,” under a charter amendment providing for the transfer of 25 per cent of the fund in question to the “Public Improvement Fund.” The city treasurer refused to make the transfer on the ground it would be in violation of the charter provision because the revenue transferred to the “Public Improvement Fund” would be used for general municipal improvements unconnected with the purposes and uses provided for in the grants. It was conceded that if the transfer were made, the money would be used for general municipal improvements not limited to the purposes specified in the legislative grants. In denying the petition, the court held that the revenue derived from the production of oil and gas from the tidelands and submerged lands were trust funds subject to the trust under which the city held the lands, and, being so, could “not be used for any purposes other than those specified in the trust conveyance under which the city claims title to the lands.”
In a footnote the court stated “The United States is not a party to this proceeding and the extent to which the State of California could validly grant to the City of Long Beach any right in the lands in question under the decision of the United States Supreme Court in
United States
v.
California,
“16. The dry gas resulting from the treatment of the natural gas hereunder and remaining after [various deductions] . . . shall be deemed ‘resulting dry gas’ hereunder and shall be available for sale by Purchaser (except as hereinafter provided), and Purchaser agrees to use its best efforts to sell, at the highest price obtainable, all of said ‘resulting dry gas ’, or any portion thereof, which the City of Long Beach does not elect to take in kind, as .herein provided. In the event of the sale by Purchaser of all or any portion of said ‘resulting dry gas’, Purchaser agrees to pay to Board, or as directed in writing by said Board, as additional compensation for said natural gas purchased by Purchaser hereunder, seventy-five per cent (75%) of the total gross proceeds derived by Purchaser from such sale of said ‘resulting dry gas.’ . . .
“17. It is further understood and agreed that, notwithstanding any other provision in this agreement, the City of Long Beach shall have the right, from time to time hereafter, to elect to take, without charge to it, all or any portion of the ‘resulting dry gas’, in kind, obtained from the treatment of the natural gas hereunder. . . . provided, however, that it is understood and agreed that by the execution of this agreement said City does elect to take, until further notice to said Purchaser, as herein- *877 above provided, all of the ‘resulting dry gas’ obtained from the treatment of the natural gas sold and delivered to Purchaser hereunder. Purchaser agrees to deliver all of said ‘resulting dry gas’ which said City so elects to take ... in kind, to City as the Gas Department of said City shall require the same, such deliveries to be made through and by means of City’s facilities at the plant or plants of Purchaser used for the treatment of the natural gas hereunder. All such deliveries of ‘resulting dry gas’ to City shall be made by Purchaser in substantially even daily quantities, at a substantially uniform pressure of not less than thirty (30) pounds per square inch gauge pressure at the meters of the Gas Department of City to be installed on the pipe line through which such delivery is made on the lands where said plant or plants of Purchaser is or are located.”
