Mandamus. The petitioner, a resident property owner and taxpayer in the county of Los Angeles, filed his petition in the superior court against the sheriff of Los Angeles County for a writ of mandamus to compel the respondent to pay into the county treasury all fees collected by him as such sheriff between the second day of June, 1913, and the thirty-first day of October, 1913, for the performance of official duties pertaining to that office. A demurrer to the petition for want of facts sufficient to constitute any ground for the relief demanded, was sustained and judgment was entered in favor of respondent. From that judgment the petitioner appeals.
Two principal objections among those relied upon by the, respondent will be considered. These are: First, upon the merits, that the facts alleged do not show that the sheriff has received and retained any fees which he is under obligation to pay over to the county. Second, respondent claims that petitioner has not stated facts sufficient to establish his right to maintain the action, even though the demanded right exists in favor of the county.
The petition' is so framed as to indicate that the pleader was intending to enforce the payment to the county of mileage and other compensation claimed by the sheriff under the charter of Los Angeles County and section 4290’ of the Political Code. The claim of the sheriff that he was entitled to retain such moneys for his own use was determined in his favor on appeal to this court in Los
Angeles County
v. Hammel,
The law concerning the right of a taxpayer to maintain actions and proceedings to enforce public rights and protect public interests has been a subject of discussion in many decisions, but is also to some extent affected by statutory declaration. Section 526a of the Code of Civil Procedure provides for the maintenance of a taxpayer’s action against public officers to obtain a judgment restraining and preventing certain described illegal expenditures, etc., of county or municipal funds. It also says: “This section does not affect any right of action in favor of a county, city, town, or city and county, or any public officer.” The charter of Los Angeles County, in section 21 thereof (Stats. 1913, p. 1490), declares that “the county counsel . . . shall have exclusive charge and control of all civil actions and proceedings in which the county or any officer thereof, is concerned or is a party.” Section 10 of the charter states that the board of supervisors shall have all the jurisdiction and power “which are now or which may hereafter be granted by the constitution and laws of the state of California, or by this charter.” Under section 4041 of the Political Code, subdivision 16, boards of supervisors are given jurisdiction and power to direct and control the prosecution and defense of all suits to which the county is a party. The general effect of these provisions of charter and statute seems to be, not only that the conduct of actions in which the county is a party is committed to the charge and control of public officers, but it further appears to be the intention (in harmony with long-established principles) that the county shall be a party to actions and proceedings wherein the county “is concerned.” Prom the many decisions of the courts of this and other states dealing with this subject, we derive the principle that in the conduct of the ordinary business of a county or city, where the care and protection of the rights of the corporation have been committed to public officers, the primary right goes with the duty belonging to those officers to control the ordinary business of the corporation without the interference of private citizens, even though they be taxpayers. The exceptions which have been per
*134
mitted usually arise in those situations where an officer is threatening to act in excess of his authority, or refuses to perform an official duty, and there is no other officer or official body empowered to act on behalf of the public or of the corporation, to enforce their rights in the matter, or where it appears that the officers empowered to act refuse to perform their duty in that respect. Instances which illustrate the subject may be given
•
such as
Hyatt
v.
Allen,
In the case at bar we are not called upon to consider whether the officers of Los Angeles County are exercising a wise discretion by refusing to commence an action against the sheriff to recover fees unlawfully retained by him, since there is no intimation that they have refused or neglected anything in that respect. The case to which we have referred,
County of Los Angeles
v.
Hammel,
shows that the officers of the county were diligent in seeking to recover from this same sheriff another class of funds to which they claimed that the county was legally entitled. If there is any further right of action against the sheriff, it is a right of action of the county which should be prosecuted by the county as a party plaintiff. In order to justify the petitioner in maintaining an action or proceeding, we think that it would be necessary for him to show that the officers who control those matters of litigation in which the county of Los Angeles is concerned have refused to commence or prosecute proceedings for the protection of the county’s interests in this matter. In
Burr
v.
Board of Supervisors of
Sacramento
County,
The judgment is affirmed.
James, J., and Shaw, J., concurred.
