1. The writ of prohibition, under our statutes, is the counterpart of mandamus (Code of Civil Procedure, secs. 1102, 1103) ; it may be issued to an inferior tribunal, corporation, board, or person, and it arrests such proceedings as are without or in excess of the jurisdiction of such tribunal, corporation, board, or person. Mandamus is not confined to judicial acts, and prohibition, its counterpart, is not confined to the restraint of judicial acts only. In Fox v. Board of Supervisors, 49 Cal. 563, the Supreme Court issued the writ of prohibition to the Board of Supervisors of San Mateo County, to prohibit them from calling an election, which is not a judicial act.
So also as to certiorari. (Robinson v. Board of Supervisors of Sacramento, 16 Cal. 208; People v. Supervisors of El Dorado *114County, 8 Cal. 58; Murray v. Supervisors of Mariposa County, 23 Cal. 494; Miller v. Supervisors of Sacramento, 25 Cal. 93; Keys v. Marin County, 42 Cal. 253; City v. Albright, 20 N. J. L. 645; State v. Jersey City, 29 N. J. L. 170; State v. City of Patterson, 34 N. J. L. 163.)
2. It has been adjudged by this Court that the petitioner is under no obligation to furnish water to the city free of charge, except for the extinguishment of fires. (San Francisco v. Spring Valley Water Works, 48 Cal. 514.)
This case is, therefore, res judicata. In the case cited, it was admitted that if plaintiff was entitled to water free of charge, she was entitled to the injunction. This Court held she was not so entitled to the water, and the injunction was, therefore, denied. All the merits of this question of free water for the city were squarely before the Court, with the grounds upon which the claim was based; the judgment was rendered on the merits, and now the parties “ cannot canvass the same question again in another action, although, perhaps (and even if) some objection or argument might have been urged upon the first trial, which would have led to a different judgment.” (Freeman on Judgments, sec. 249.)
3. The purposes for which the city claims this water are purposes of ordinary daily use—purposes of such a character that the city is bound to anticipate the necessity for a supply, and prepare itself to meet that necessity. That the water for those purposes is a necessity no one will deny; that it is a “ great necessity ” within the meaning of the statute upon which the counsel for the city relies, seems to us a proposition too absurd for argument. The necessity may be great, but if it is constant, frequent, or regular, so that it can be anticipated and provided for, it does not come within the purview of that statute, or justify the city in violating that fundamental law of right, which Mr. Cooley, in his excellent work on Constitutional Limitations, says stands above constitutions—the right to acquire, have, possess, and enjoy property. (Cooley on Constitutional Limitations, secs. 36, 354.)
*115W. C. Burnett and John F. Swift, for Respondent.
1. The writ of prohibition is a prerogative writ, whose only office is to restrain subordinate Courts and inferior judicial tribunals from exceeding their jurisdiction. ( Quimbo Appo v. TRhe People, 20 N. Y. 540; Thomas v. Mead, 36 Mo. 232; Wash-burn v. Phillips, 2 Metc. 296; People v. Supervisors of Queen’s County, 1 Hill, 200.)
2. The litigation had in The City and County of San Francisco v. The Spring Valley Water Works, 48 Cal. 493, left the question of great necessity open. It is not an estoppel in this case to the claim of the city for water free for ordinary municipal purposes.
The claim of the city in that suit was that she was entitled to water free of charge for all municipal purposes, and the object of that suit was to “ restrain the Spring Yalley Company from cutting off from the plaintiff the supply of water flowing in the pipes of the defendant, and used by the plaintiff for municipal purposes and uses.” The theory of the city’s case, then, was that she was entitled to the water under Order Ho. 46 from the Spring Yalley Water Company as successor in interest to the Bensley Company. The Water Company in their answer stood squarely upon the Ensign Act and the San Francisco Water Works Act as modified by the effect of the special grant to Ensign and his associates under the Ensign Act. The case was tried in the District Court, and judgment was rendered for the defendant, when the plaintiff appealed to the Supreme Court, where the judgment was reversed on the ground that under sec. 3 of the Ensign Act it was not the duty of the Water Company to furnish water free to the city except for the extinguishment of fires during the pendency thereof, until the introduction of water by another company, which conditions did not appear from the complaint to have happened. (See 39 Cal. 474.) In point of fact the contingency had happened, and the pleader only was at fault. When the case came back the complaint was amended, and the necessary allegation introduced. Then a trial was had, but the Court decided again for the defendant. Another appeal was taken, and the Supreme Court *116held that the liability of the Company was in full force, and it must furnish water free of charge for all municipal purposes. And thus the case would have been finally determined, but for the application for a rehearing in which' the new point was for the first time presented that the Ensign Act was unconstitutional and void because a grant of corporate powers by special act, and that the Company held under the General Law of April 22nd, 1858. A rehearing was granted, and the Court, taking that view of the case, affirmed the judgment below. (48 Cal. 493.) Tet it is now claimed for the Water Company that, notwithstanding those special acts have been held to be void, when it comes to define the duty of the Company to the City and County of San Francisco, this Court has in some mysterious way settled the law to be that the city is only entitled to water free of charge for the extinguishment of fires during the pend-ency thereof-—not the words of the general law, but of the extinct “ Ensign Act.” In a word, the first portion of sec. 3 of the defunct Ensign Act is still resorted to when the Company desires to shirk a burden, although it was to escape the effect of the final part of the same section that they raised the point, the decision of which destroyed that franchise.
3. The water, the delivery of which is herein sought to be prohibited, is due to the city under sec. 4 of the Company’s Charter (Act of April 22nd, 1858) as water in case of fire, or other great necessity, free of charge. The phrase “ fire, or other great necessity,” means all water absolutely indispensable to a well governed city—water for extinguishment of fires, for the prisons, hospitals, schools, public buildings, parks; gardens, etc. —such uses as could not be dispensed with in a modern city of a civilized country.
At the argument counsel united in a request that the Court would construe the words “ in case of fire, or other great necessity,” occurring in the Act of 1858, fourth section, which is as follows: “ All corporations formed under the provisions of this act, or claiming any of the provisions of the same, shall furnish pure, fresh water to the inhabitants of such city and county, or city or town, for family uses, so long as the supply permits, at reasonable rates, and without distinction of persons, and shall *117furnish water to the extent of their means to such city and county, or city or town, in case of fire or other great necessity, free of charge.”
By the Court, McKinstry, J.:At the common law the writ of prohibition was issued on the suggestion that the cause originally, or some collateral matter arising therein, did not belong to the inferior jurisdiction, but to the cognizance of some other Court. (3 Shars. Blackcst. Com. 112.) It was an original remedial writ provided as a remedy for encroachment of jurisdiction; its office was to restrain subordinate Courts and inferior judicial tribunals from exceeding their jurisdiction. ( Quimbo Appo v. The People, 20 N. Y. 540; Thomas v. Mead, 36 Mo. 232.)
If by the Code of Civil Procedure the Courts of this State are empowered to issue the writ to municipal corporations or to public boards clothed with limited governmental functions, it still retains its character as a writ in the nature of a prerogative writ, to be issued only in the sound discretion of the Court. It should be granted or withheld according to the circumstances of each particular case, and, like other prerogative writs, should be used with great caution and forbearance. ( Washburn v. Phillipps, 2 Met. 296.)
In my opinion, the writ ought not to issue to arrest any legislation pending before a body authorized by the Constitution and laws to legislate with reference to matters of public interest. Error committed by such bodies cannot usually be corrected by resort to this extraordinary writ without great public inconvenience. (People v. Supervisors of Queens. 1 Hill, 200.)
I know of no way in which it can be shown that the members of the Board of Supervisors threaten (in their official capacity) to pass an ordinance, and it must be presumed that the members of that legislative assembly will fully consider the question of the power to pass the order, as well as the merits of the order itself. It would not be a proper exercise of the sound discretion of the Court to prohibit any consideration of a measure which, after discussion, might by amendment be deprived of its objection*118able features, merely because if passed finally as “ passed to print,” it would be in excess of the power conferred on the Board by the city charter.
The parties have requested the Court to place an interpretation upon the language of the fourth section of the Act of 1858, which is as follows : “ And shall furnish water to the extent of their means to such city and county, or city, or town, in case of fire, or other great necessity, free of charge.”
It is claimed by petitioner that it has been adjudged by this Court that the city and county is not entitled to water from the pipes and mains of petitioner, “free of charge,” for any municipal purpose, except for the extinguishment of fires; that such is the effect of the judgment in San Francisco v. Spring Valley Water Works, 48 Cal. 493. A reference to the report of that case will show that the question discussed in the briefs, and the only question considered in the opinion of the Justices, was the validity or constitutionality of the “ Ensign Act.” It seems to have been assumed by counsel and Court that a determination that the “ Ensign Act ” was void must involve a complete reversal and not a modification of the judgment of the District Court. Counsel did not there indicate their respective views (in case it should be held that water corporations were not compelled to furnish water for all purposes) as to the purposes for which the company might charge for the water, and as to the purposes for which it might be compelled to furnish water free of charge. It is said, however, that inasmuch as the complaint was filed by the city and county to enjoin a threat on the part of the Spring Valley Water Company to cut off water for all purposes, except in case of fire, and as judgment was rendered for defendant, such judgment necessarily involved a determination that the company was entitled to refuse to furnish water free of charge, for any other purpose than the extinguishment of fires. It is plain from the opinions therein rendered that no such result was contemplated by the Judges. In the opinion, on rehearing, of Mr. Justice Crockett, concurred in by Mr. Justice Niles, and in this particular by Mr. Justice Bhodes, the obligation of the Spring Valley Company is described as being an obligation to furnish water free of *119charge “in case of fire or other great necessity” (page 527). And Mr. Justice McKinstry, in his concurring opinion, (page 531) says: “ The General Law required all water companies to furnish water to the extent of their means, and free of charge, to the city or town to which water was conducted 1 in case of fire or other great necessity.’ I express no opinion as to the precise meaning of the phrase 1 other great necessity.’ On the former appeal, and before I came to the bench, it was held by all the Justices qualified to sit in this case, that these words did not include every municipal purpose.”
Under these circumstances, even if the technical effect of the judgment in San Francisco v. Spring Valley Water Works is broader than the views expressed by the Justices would warrant, I am of opinion that the case should be held to be authority only to the extent of a determination that the company is not bound to furnish water to the city free for all purposes.
But the claim of the city and county, in the action of The City and County of San Francisco v. The Spring Valley Water Works, was based on an assertion that the rights and duties of the defendant, so far as furnishing water to the city is concerned, were created and controlled by the Ensign Act, and by the transfer from the City Water Works to the Spring Valley Company; and that by virtue of said act and transfer the obligation was imposed on the Spring Valley to furnish water for all purposes. The pleading on the part of the plaintiff did not allege that there were any “ great necessities,” for which the water should be furnished free; and in the absence of such allegation the judgment of the Court only determined that the city and county was not entitled, as it claimed, to free water for all purposes.
The decision and judgment did, however, determine that the defendant was bound to furnish water to the city and county free of charge “ in case of fire or other great necessity.”
The meaning of these words is still an open question.
It is claimed on the one hand that, applying the maxim, noscitur a sociis, the words “ other great necessity ” are to be construed as referring to necessities of the same character as “ fire ” ; those which are the offspring of sudden emergencies; such as *120may arise out of events which, while they might be anticipated as possibilities, are in the nature of casualties; the time of whose occurrence, and the extent of the demand for water which they might create, being equally uncertain.
On the other hand, it is said that the adjunct “great” adds no meaning to the word “ necessity ”; that, in the midst of the civilization of this age and country, every appropriate use going to supply the comforts or luxuries of men, and to afford sanitary protection, is a necessary use of water, within the meaning of the statute.
The claim of the petitioner, as above stated, is plausible and ingenious. But I think too much force is attributed to the word “ fire,” which is used in the statute as the illustration, coming first to mind, of a case in which the municipality might require water, as distinguished from the needs of the inhabitants. And the like error (if it be error) on the part of the respondent is in overlooking the fact that there is no provision in the statute for furnishing the city government with water for “ family uses,” and in the assumption that those persons immediately under the care of the local government—being such as are restrained of their liberty by penal laws, or given the benefit of eleemosynary and educational establishments—are withdrawn from the “ inhabitants,” who are to be supplied with water at reasonable rates for family uses.
The fourth section of the Act of 1858 provides: “ All corporations formed under the provisions of this act, or claiming any of the privileges of the same, shall furnish pure fresh water to the inhabitants of such city and county, or city, or town, for family uées, so long as the supply permits, at reasonable rates and without distinction of persons, upon proper demand therefor, and shall furnish water to the extent of their means to such city and county, or city, or town, in case of fire, or other great necessity, free of charge.”
The primary purpose for which water is to be furnished by these companies is “.family uses.” For supplying water for these uses they are authorized to charge tolls or rates. The family uses are such as are appropriate to the individual needs of the members of a household, and to the needs of the house*121hold in its collective capacity; it is the inhabitants, the men, women, and children, who are to be supplied with water for-family uses—domestic uses, drinking, lavation, etc. The occupants of the jail—keepers and prisoners — have such “family uses,” as well as the best ordered family of parents, children,, and servants. The fact that the city and county, as an incident to its power and duty to establish a jail, has the right and obligation to furnish necessary water for keepers and prisoners, does not change the nature of the uses for which such water is supplied, which are still “ family uses.” These remarks will apply to the hospitals, poor-houses, schools, and other institutions to which water is supplied to the occupants or inhabitants for “ family uses.”
We cannot refuse to observe the antithesis: The inhabitants are to be furnished water for family uses “ at reasonable rates ” i the city and county for fires and other great necessities “ free of charge.” ’ After providing that the companies shall charge for water furnished the inhabitants, the act imposes on them the duty of supplying, to the extent of their means, the necessities of the local government, free of charge. It is evident that the necessities thus mentioned are of a different class from those of theo inhabitants, as members of families. The extinguishment of fires is under the control of the city government, or of a department of the city government in San Francisco, and is always under the direction of the local government; so is, or may be., the flushing of sewers, the sprinkling of streets, and the watering of parks. These things are certainly necessities in the ordinary signification of the word; the word is not to be given the more narrow signification of the absolutely indispensable; for this would be to deprive it of all practical force or meaning. It is for uses of the character last mentioned—such as are incidental to the direct employment by the municipality of its governmental or police powers as distinguished from the family uses of a portion of the inhabitants, for which the city may be called on to pay—that all water companies are required to furnish water free of charge. It is impossible further to classify these uses, or to say that one of them is a “ greater ” necessity than another, and under the well established rule that when there is *122even serious doubt in respect to the interpretation of a law conferring franchises on a corporation or person, it should be construed against the party claiming the privilege ; and for the benefit of the public I am constrained to say that it is the duty of the Spring Valley Water Works to furnish water free to the city and county in case of fire, and also in case it is demanded for irrigating the parks and squares, watering the streets, flushing the sewers, and in case of any other demand based on a requirement which is incidental to the discharge by the Supervisors of their duty as local'legislators—except where it is to be used by human beings for family purposes.
Whether a possible case might arise in which a grossly improvident employment of the water for a purpose not necessary to the government of a well regulated city might require the Courts to intervene, it is not now requisite to decide.
It accords with the principle of construction above referred to, to hold that the words “ in case of fire ” imply more than that the water must be turned on after a conflagration has actually commenced, and include the obligation of supplying water for such preventive measures as may be adopted by the fire department; hence that water must be supplied free for all ordinary uses of the engines and engine-houses. .
The conclusion is that the Spring Valley Water Company may charge the ordinary rates (when they shall have been fixed, in the manner required by the General Law) for the water supplied for drinking and culinary purposes ; for purposes of lavation, and for like domestic uses to the inhabitants or occupants of the various institutions, penal or charitable, established by or under the control of the city and county government; to the public schools and to the public offices ; and that it is the duty of the corporation to furnish water free" (to the extent of its means) for the extinguishment of fires, and to the Fire Department, arid for all other purposes for which it may be demanded by the authorities of the city and county in discharge of their direct duties as governmental agents—being such uses as are distinguishable from “ family uses ” as hereinbefore defined.
The writ must be quashed and the proceedings dismissed, and it is so ordered.