Petitioner appeals from a judgment of the Superior Court of San Francisco denying and dismissing with prejudice his petition for a writ of mandate. By the writ, petitioner seeks to compel the Civil Service Commission to place his name as number one on the list of eligibles for appointment to the position of Superintendent of Agriculture. It appears that petitioner received the highest grade in the examination held for the position, and was placed at the top of the tentative eligibility list, but, upon objections being filed by the applicant second in rank on the ground that petitioner did not have the necessary residence qualification, the commission, after several hearings, removed petitioner’s name from the list. Objection was also filed to petitioner on the ground that he did not have the required experience qualification, but the commission did not determine this question in view of its ruling that he lacked the residence requirement. As announced in the examination scope circular, the required residence was residence in San Francisco for one year immediately preceding January 27, 1939, the closing date for filing applications to take the examination.
The commission filed a return to the alternative writ of mandate, alleging its determination, after hearing, against petitioner’s claim of residence. To this return were attached photostatic copies of various documents showing that at vari *56 ous times between 1933 and 1938 petitioner had stated, sometimes under oath, that his residence was in Sacramento County. Among these exhibits was a copy of petitioner’s affidavit of registration, under the permanent registration law, showing that petitioner had registered on February 5, 1936, and, at that time, under oath, gave Elk Grove, Sacramento County, as his residence. Also attached were photostatic copies of pages from the Roster of Voters which sets forth the names of those who voted in the primary election of August 30, 1938, and the general election of November 8, 1938. From this roster it appears that petitioner voted in these elections and signed the roster, giving his address as Elk Grove. In his application to take the examination he gave January 4,1934, as the date he became a resident of San Francisco, claiming to have been a resident of that city since that date.
Upon motion of respondent, the trial court, without the taking of evidence, dismissed the petition for a writ. The respondent had moved for dismissal on the grounds that petitioner had not come into court with clean hands; that the court was without jurisdiction to interfere with the determination of the commission, and that the petition did not state a cause of action. The judgment of the trial court, as shown by the recitals therein, is predicated on all three grounds.
Petitioner urges that the commission had no authority to require that an examinee must have one year's residence .prior to the closing date for,filing applications to take the examination; that under the charter all that is required is one year’s residence prior to appointment. Aside from the fact that the petition for the writ was not based on that theory, and, in fact, alleged residence in San Francisco since January 4, 1934, petitioner’s interpretation of the charter provisions is not justified.
The Charter of San Francisco became effective January 8, 1932. Section 144 provides in part: “Any citizen having the qualifications prescribed by section 7 of this charter may submit himself for any examination under conditions established by the civil service commission. ...” Section 7 of the charter was amended in 1933 (Stats. 1933, p. 2805) and reads in part as follows: ‘1 All employees of the City and County shall be citizens and shall have been residents thereof, for at least one year prior to the appointment, unless otherwise specifically provided in this charter ... Petitioner eon- *57 tends that under section 7 of the charter, supra, the only requirement is that he be a resident one year prior to his appointment, not one year’s residence prior to taking the examination. Eligible lists continue in effect for two years, and may be continued in effect for four years. Thus, under petitioner’s interpretation, a person who is a nonresident when he takes the examination may qualify for appointment within the two or four-year period. This is not a reasonable nor proper interpretation of the two sections. Section 7 refers to appointees, not to examinees. Moreover, section 7 refers to all appointments—both civil and noncivil service appointments. Section 144, supra, however, refers specifically to examinees. Petitioner’s interpretation would mean that every citizen of the United States would be eligible to take every examination, but only those who had been residents of San Francisco for one year prior to their appointment could be appointed to a position. The interpretation of petitioner completely disregards the words, “having the qualifications prescribed by section 7 of this charter”. Those words would be meaningless if petitioner’s construction is correct.
For these reasons, we think the only proper interpretation of the two sections is that section 144 imposes as conditions precedent to taking an examination the requirements of section 7—citizenship and one year’s residence in San Francisco. Section 7, applying to noncivil service, as well as civil service employees, requires citizenship and one year’s residence prior to appointment. This interpretation gives effect to both sections of the charter, is reasonable, and provides a workable system.
Using this interpretation as its basic premise, in support of the judgment, the respondent urges that, since petitioner did not file an affidavit denying the genuineness and due execution of the written exhibits attached to the return, under section 448 of the Code of Civil Procedure, their genuineness and due execution were admitted; that they demonstrate that petitioner was a resident of Sacramento County during the time in question; that at any rate petitioner has filed under oath, conflicting statements as to his residence; that this demonstrates that he did not come into court with clean hands; that the clean hands doctrine applies to mandamus proceedings.
There can be no doubt that a
mandamus
proceeding is essentially equitable in nature, and that the clean hands doctrine is applicable to such a proceeding.
(Hutchison
v.
*58
Reclamation Dist. No. 1619,
The judgment, however, was not based solely on that ground. The trial court also held that it had no jurisdiction to interfere with the action of the commission, and that the petition did not state a cause of action. The two points are *59 integrally connected. They are based on the following premises: (1) That local boards, such as the civil service commission, may lawfully be invested with judicial or quasi judicial power; (2) that the Charter of San Francisco vests such power, so far as the question of residence is concerned, in the commission; and (3) that where such power is vested a petition is defective that does not allege facts to show that the commission acted arbitrarily, capriciously or fraudulently. These points will be considered in order.
The question as to whether by charter provision local boards, such as a civil service commission, may be invested with judicial fact finding powers seems never to have been seriously questioned in this state. The books are full of cases expressly or impliedly holding that where fact finding powers have been conferred on local boards their determination will not be set aside unless an abuse of discretion is pleaded and proved, that is, unless it be alleged and proved that the board acted arbitrarily, capriciously or fraudulently.
(Croly
v.
City of Sacramento,
The sections of the Constitution above referred to, however, do not automatically confer such power on local boards, nor do they require a city or city and county to so provide in their charter—they merely empower such city or city and county to so provide in their charter. If the charter does not expressly or impliedly confer such power, the power does not exist.
(French
v.
Cook,
Respondent argues that section 147.1, supra, expressly confers discretionary power on the commission to correct errors not only in examination papers but also in the sworn application of an examinee, and that this includes the power to pass on the question of residence as set forth in the application. Great emphasis is placed upon the language conferring upon the commission “power to correct any error which in its judgment may have occurred in the rating ” of an examinee. It is argued that, if, because of a false statement as to residence, an examinee has been placed on the tentative list, an error in rating has occurred. Petitioner argues that section 147.1 applies only to errors in connection with the marking of examination papers. While there can be little doubt that section 147.1 was intended primarily to confer discretionary power on the commission to correct errors in the marking of the papers, there is much merit in the argument that the grant of power is broad enough to include the power to correct any error that results in a false rating, including power to pass on the correctness of statements made in the application, which includes the power to pass on the question of residence. However, it is not necessary to base this portion of the opinion solely on section 147.1, supra. A reading of the various sections- of the charter above-referred to demonstrates that San Francisco, exercising its plenary power with regard to the method and manner of appointments, has set up a complete scheme for the making of such appointments. It is further apparent that the complete administration of this plan has been conferred upon the commission. The obvious intent of the sections as a whole is that power has been conferred on the commission to pass on the qualifications of examinees, including not only such qualifications as are disclosed by the examination, but also such other qualifications such as age, residence, experience, etc. It is also quite clear that it is the intent of the charter that the administration of this plan *63 should not be interfered with by the courts unless it be shown that the commission acted fraudulently, capriciously or arbitrarily, or in violation of the provisions of the charter. That is but another way of stating that in passing on such 'questions, including the question of residence, the commission acts in a quasi judicial capacity.
The only question left for determination is whether the petition states a cause of action. So far as pertinent here, the petition alleges that petitioner took the examination; was placed first on the tentative list; that a protest was filed on the ground that petitioner lacked both the experience and residence qualifications; that the commission determined that he did not possess the residence requirement; that the action of the commission is without right ‘ ‘ and in utter disregard of the proofs, oral and documentary, adduced by petitioner before respondent as aforesaid, which proofs demonstrate that petitioner is, and ever since on or about the 4th day of January, 1934, has been, a bona fide legal resident of said City and County and State. ’ ’
This petition, as a matter of law, is insufficient to state a cause of action for a writ of mandate. If the charter did not confer discretionary or
quasi
judicial power on the commission to pass on the question of residence, the petition here involved would be sufficient. It was obviously framed on that theory. But, as already held, the charter does confer discretionary or
quasi
judicial power on the commission to pass on that question. Since that is so, it must be alleged in a
mandamus
proceeding attacking its action that it has acted arbitrarily, fraudulently, capriciously, or in abuse of discretion. An averment that petitioner’s evidence would support a conclusion contrary to that of the commission does not properly or at all allege an abuse of discretion, in the absence of a denial of the existence of other evidence supporting the action of the board exercising judicial power. These principles are well-settled. In
Bennett
v.
Brady,
17 Cal. App. (2d) 114, 116 [
The allegation in the petition here involved, above quoted, amounts to no more than a charge that petitioner’s evidence produced before the commission was sufficient to support a finding of residence, or that such evidence, standing alone, would compel such finding. The allegation is, in effect, that the action of the commission was in disregard of the evidence produced by petitioner, without reference to what other evidence may have shown. There is a complete failure to deny the existence of other evidence. The allegation fails to comply with the test laid down in the cases referred to above. For that reason, the petition fails to state a cause of action.
The judgment appealed from is affirmed.
Knight, J., and Ward, J., concurred.
Appellant’s petition for a hearing by the Supreme Court was denied April 17, 1941.
