This appeal is from a judgment dismissing a second amended petition for a writ of mandate after demurrers sustained without leave to amend. The petition is in five separate counts and was directed against Wilson Locke, *754 Judge of the Municipal Court of the San Pablo Judicial District, John A. Nejedly, District Attorney of Contra Costa County, and his deputy, William Higham. The first count alleged that a public nuisance had been committéd by named persons in and about residential properties of petitioner in San Pablo by their continued accumulation of garbage, refuse and rubbish in the immediate proximity of said properties; that an unhealthy, filthy and offensive condition was thereby created and also constituted a fire hazard in violation of fire and health ordinances; that petitioner presented these facts to Judge Locke, who had jurisdiction in the premises, and demanded issuance of a misdemeanor warrant; that said judge refused to issue warrants and ordered him to see the district attorney; that the district attorney’s office refused to take action or to prosecute; mandate against both offices was requested. The second count, directed solely against the district attorney, alleged that petitioner’s former wife had committed perjury in the filing of certain affidavits in a civil action involving title to real property in dispute between them; that the facts had been called to the attention of the district attorney but he failed to perform his duty and refused to prosecute. The third count alleged that he had called the attention of the district attorney and Richmond police chief to facts showing the commission of forgery by unnamed persons and also that a perjured and false affidavit had been made in the city of Richmond but they refused to prosecute the forgery or otherwise perform their official duty. The fourth count alleged that Judge Locke had admitted publicly and privately that he was biased and prejudiced against petitioner and, therefore, was disqualified from hearing any matters involving petitioner but nevertheless continues to act in such matters; mandate to cease and desist therefrom is sought. The fifth count alleged that petitioner presented facts to the district attorney showing that a judge of the superior court of the State of California, made false affidavits for the purpose of collecting judicial salary for work while on assignment in Contra Costa County and the district attorney and his office failed to investigate or prosecute the matter; mandate is prayed.
There are two substantive questions presented. First: Does a judge of an inferior court have discretion to refuse to issue a warrant for arrest when a complaint is presented to him?
An affirmative answer is indicated for the following reasons.
*755
Section 1427 of the Penal Code
1
contains the express condition that the judge to whom the complaint is presented be
satisfied therefrom
that the offense complained of has been committed before issuing a warrant for arrest. While no eases directly in point have been cited by either party or discovered by us, the discretionary nature of the official duty as implied by the italicized condition appears to have been recognized in
People
v.
Barnhart,
Second: Will mandamus lie to compel a district attorney to prosecute every charge of crime that may be made by individuals desiring the prosecution of third persons %
A negative answer is indicated for the following reasons: As concerns the enforcement of the criminal law the office of district attorney is charged with grave responsibilities to the public. These responsibilities demand integrity, zeal and *756 conscientious effort in the administration of justice under the criminal law. However, both as to investigation and prosecution that effort is subject to the budgetary control of boards of supervisors or other legislative bodies controlling the number of deputies, investigators and other employees. Nothing could be more demoralizing to that effort or to efficient administration of the criminal law in our system of justice than requiring a district attorney’s office to dissipate its effort on personal grievance, fanciful charges and idle prosecution.
The statutes defining duties of the district attorney insofar as applicable to the particular charges involved in counts one, two, three and five of the petition herein are Government Code, sections 26500
2
and 26501.
3
There appear to be no California cases directly in point. The case of
Boyne
v.
Ryan,
In
Pearson
v.
Reed,
There remains the fourth cause of action involving the alleged expressions of bias and prejudice against petitioner made by Judge Locke and the prayer that mandamus issue requiring him to cease and desist from acting in any matters pertaining to petitioner. Appellant relies upon section 170, subdivision 5, of the Code of Civil Procedure but the allegations of the twice amended complaint do no more than set forth a mere general conclusion on the part of petitioner without pleading any specific facts to show a justiciable controversy under section 170, subdivision 5, or any other section of any code. The petition is devoid of any allegations of facts that under the third paragraph of section 170, subdivision 5, would require or support any writ or order by the superior court. By its own terms, the section applies to and can be invoked only in specific litigation pending in a particular court wherein a *758 party believes he cannot have a fair and impartial trial with the judge before whom the action is pending.
The judgment is affirmed.
Kaufman, P. J., and Draper, J., concurred.
Notes
Assigned by Chairman of Judicial Council.
§ 1427: "When a complaint is presented to a judge of an inferior court of the commission of a public offense appearing to be triable in his court, he must, if satisfied therefrom that the offense complained of has been committed and that there is reasonable ground to believe that the defendant has committed it, issue a warrant, for the arrest of the defendant. ’ ’ [Italics supplied.]
§ 26500: ‘ ‘ The district attorney is the public prosecutor. He shall attend the courts, and conduct on behalf of the people all prosecutions for public offenses.' ’
$ 26501: “The district attorney shall institute proceedings before magistrates for the arrest of persons charged with or reasonably suspected of public offenses when he has information that such offenses have been committed. . .
