On this аppeal from a judgment ordering issuance of a writ of mandate, we are called upon to decide whether the trial court has the power to review the determina *835 tion of a public defender that an accused who requests his services is “not financially able to employ counsel” (Gov. Code, §27706, subd. (a)). We conclude that such a determination is not subject to judicial, as distinguished from political, review and that this rule is applicable although the public defender’s services are sought for a collateral attack on a final judgment rather than a defense to a pending charge.
In 1959 Marcus Ingram (hereinafter called petitioner) appeared without counsel in the Justice Court of the Lake Valley Judical District, County of El Dorado, to answer to a misdemeanor charge of failing to provide for a minor child. (Pen. Code, § 270.) He pleaded guilty, was admitted to probation, and did not appeal.
On August 21, 1967, the Public Defender of El Dorado County, representing pеtitioner, filed a notice of motion in respondent justice court to set aside petitioner’s 1959 judgment of conviction on the ground of an asserted denial of his right to counsel in that proceeding.
When the matter was called for hearing on September 14, 1967, the court on its own initiative asked the public defender for an affidavit of indigence to establish petitioner’s financial inability to employ private counsel. The public defender replied that he had no such affidavit and was not rеquired by law to have one; after some discussion, he nevertheless declared as an officer of the court that he was satisfied petitioner was indigent and hence eligible for the services of the public defender’s office. The court ruled, however, that it had the power and duty to make a final determination of the issue of petitioner’s indigence, and over the objection of the public defender continued the matter to allow preparation of evidence оn the point.
Petitioner thereupon filed an application for writ of prohibition or mandate in the El Dorado Superior Court, alleging that “Unless restrained, respondent Court will proceed to rule on the Public Defender’s right to represent me” and that such a ruling would be in excess of jurisdiction. On October 3, 1967, judgment was entered ordering that a peremptory writ of mandate issue to compel respondent court to “proceed to determine, on its merits, petitioner’s motion to set asidе the judgment of his conviction of a violation of Section 270 of the California Penal Code; and to permit the Public Defender of El Dorado County to represent petitioner in these proceedings without raising any question of the Pub- *836 lie Defender’s right to do so or of petitioner’s indigency.” The People, as real party in interest, appeal.
For half a century the office of public defender has been a creature of statute. 1 The code provides that the salary and еxpenses of the public defender are county charges (Gov. Code, §§ 27708, 27709, 27711), and prescribes in detail the powers and duties of the office. Government Code section 27706, subdivision (a), provides that “Upon request of the defendant or upon order of the court, [the public defender] shall defend, without expense to the defendant, any person who is not financially able to employ counsel and who is charged with the commission of any contempt or offense triable in the superior, municipal or justice courts at all stages of the proceedings, including the preliminary examination. The public defender shall, upon request, give counsel and advice to such person about any charge against him upon which the public defender is conducting the defense, and shall prosecute all appeals to a higher court or courts of any person who has been convicted, where, in his opinion, the appeal will or might reasonably be expected to result in the reversal or modification of the judgment of conviction.” (Italics added.) The remaining subdivisions of sectiоn 27706 are set forth in the margin. 2
Under the foregoing statutory scheme, “indigence is a qualification required for such representation at public expense.”
*837
(People
v.
Ferry
(1965)
We begin our inquiry by carefully distinguishing between the two ways in which an indigent charged with crime may obtain the services of the public defender: one, by applying directly to the public defender himself, and the other by appeаring unrepresented at arraignment and receiving a court-ordered appointment of counsel.
It is the latter sequence, doubtless the more common, with which the statutes and eases relied on by the People are concerned. Thus if a defendant makes his first appearance on a criminal charge without counsel, the court is mandated by provisions of the Penal Code to advise him of his rights and to inquire if he desires to be represented, and to make such an appоintment if the defendant so desires but “is unable to employ counsel” (Pen. Code, §§ 859, 987). Construing the cited sections, the cases have made clear that in such event it is the power and duty of the trial court to inquire into the defendant’s financial condition and determine whether he is eligible for the public defender’s assistance. (See, e.g.,
People
v.
Diaz
(1962)
Indeed, the People concede that the public defender has the power and duty to make this determination in the alternate situation here envisaged, i.e., when the person charged with crime comes directly to him for assistance rather than awaiting his first court appearance. This authority is implicit in the command of subdivision (a) of section 27706 that “Upon request of the defendant” the public defender shall represent any indigent accused “at all stages of the proceedings.” The period prior to arraignment must be deemed such a “stage”; as recent decisions have recognized, it is a period in which the right to counsel is often of critical importance. (See, e.g.,
Escobedo
v.
Illinois
(1964)
We next consider whether a public defender’s determination that a person applying for his services is “not financially able to employ counsel” is subject to review by the trial court. Considerations both of statutory construction and of policy require a negative answer to this question.
Turning first to the statute, we observe that subdivision (a) of section 27706 directs the public defender to represent indigent persons either “Upon request of the defendant or upon order of the court” (italics added). But if a defendant’s successful request for assistance can be nullified by a court because it disagrees with the public defender on the question *839 of indigence, that officer can act in effect only “upon order of the court.’’ To so hold, of course, would be to read the “request” alternative wholly out of the statute.
That the disjunctive form of subdivision (a) was deliberately chosen by the Legislature, moreover, is demonstrated by comparing the language of subdivisions (b) through (d) of the same statute. (Ante, fn. 2.) In subdivisions (b) and (c) it is provided that the public defender shall prosecute and defend certain civil actions only “Upon request” of the indigent applicant; the statute gives the court no authority to order the public defender to act on behalf of such applicants, and hence his determination of their indigence is final. On the other hand, in subdivisions (d) and (e) it is provided that the public defender shall represent indigent persons involved in mental health or juvenile proceedings only “Upon order of the court”; the statute gives the public defender no power to enter such eases at the request of the persons affected, and thus no power to determine their indigence in any event.
It is a cardinal rule of construction that the several parts of a statute must be read together and harmonized, when reasonably possible, so as to discover аnd give effect to the intent of the Legislature.
(In re Bandmann
(1958)
The People urge that in the converse situation—i.e., when either the public defender or the court determines that the defendant is
not
indigent and hence is not eligible for representation at public expense—the decision is subject to judicial review. This is true: if the public defender erroneously finds nonindigence, the defendant can invoke the alternate provision of subdivision (a) and obtain a court appointment of counsel at the arraignment; and if the court erroneously finds nonindigence, the defendant can petition a higher court and obtain a writ of mandate ordering such appointment to be made (e.g.,
Williams
v.
Superior Court
(1964)
supra,
But when a defendant appears
with
counsel, the court’s duty in this regard is discharged. “It is the duty of a court to afford counsel to the indigent. But this duty ceases when counsel is retained by a defendant. The court must then keep hands off and permit counsel to control the case within the embrace of his right to do so.”
(People
v.
Ferry
(1965)
supra,
Thе inviolability of this relationship is illustrated by yet another contention of the People. As we observed earlier, a defendant whom the court has erroneously found to be nonindigent can obtain relief from a higher court. In the alternative, however, if he can demonstrate to the satisfaction of the public defender that he is “not financially able to employ counsel” he may apply to that officer for representation despite the court’s finding of nonindigence. In undertaking suсh a defense the public defender does not, as the People contend, “review and reverse” the court’s determination. Rather, he exercises an original power vested in him by statute, not superior to but coequal with the power of the court. Nor is precedent lacking: for example, the general statutory directive authorizing the district attorney to allege in the information either the offense named in the order of commitment “or any offense or offenses shown by the evidence taken before the magistrate” (Pen. Code, § 739) has long been construed to empower that officer to charge, in his discretion, a related offense “although the magistrate concluded impliedly or otherwise that the evidence did not show probable cause that such offense had been committed.”
(Parks
v.
Superior Court
(1952)
Although we hold there is no judicial review of a public defender’s determination that a given defendant is *842 indigent, his conduct in this regard is, of course, subject to appropriate review through the political process. The overwhelming majority of public defender offices in this state are appointive, and Government Code section 27703 declares that in such event the public defender “shall be appointed by the board of supervisors to serve at its mil.” (Italics added.) If a holder of that office abuses his powers by consistently undertaking to represent at county еxpense persons who are not in fact indigent, the board of supervisors may take such remedial steps as are deemed necessary, including his reprimand, suspension or discharge, or the institution of appropriate court action. 6 There is, moreover, clear legislative expression of the view that political and administrative remedies are adequate in this context. In 1959 a measure was introduced (A.B. 1852) which would have required that public defenders obtain from all apрlicants a financial statement and affidavit representing “to the court” that they have no funds to employ counsel—i.e., the precise document demanded by respondent court in the case at bar. The bill was referred to the Assembly Interim Committee on Criminal Procedure, which successfully recommended against enactment on the ground that it was ‘‘ of the opinion that the nature and extent of this problem do not require legislative action. It appears that public defenders makе a real effort to avoid taking cases which do not qualify for their services. If abuses develop in individual cities or counties of the state, it appears to us that the proper avenue of appeal is to the judicial council or the county board of supervisors.” (22 Assembly Interim Com. Report No. 1 (1959-1961) p. 99.)
In short, the fundamental flaw in the People’s position is its unstated assumption that the courts are the guardians of the county coffers. In our system of government this is not, and should not be, their role. The Constitution and the statutes commit that responsibility, more appropriately, to the board of supervisors, assisted by such officers as the district attorney, the county counsel, the treasurer, the controller and auditor, and the inquisitorial body of citizens, the grand jury.
Finally, we consider whether a different conclusion is required here by reason of the fact that petitioner has not
*843
applied to the public defender for a “defense” to a pending charge but rather for assistance in рresenting a motion to set aside his prior judgment of conviction, i.e., a petition for writ of error
coram nobis.
The statute, as we have seen, directs the public defender to represent indigents “charged with the commission of any . . . offense”; but it also directs him to do so “at all stages of the proceedings,” and in particular to prosecute on behalf of such persons “all appeals to a higher court . . . where, in his opinion, the appeal will or might reasonably be expected to rеsult in the reversal or modification of the judgment of conviction.” It is too late for the People to urge a narrow construction which would exclude recognized forms of collateral relief from the scope of this language. In
People
v.
Shipman
(1965)
The fact that a
coram nobis
petitioner may be represented by counsel, however, does not affect the operation of the remaining rules laid down in
Shipman:
regardless of such representation, the petition may be summarily denied if its lack of merit аppears from the face of the document or the
*844
court’s own records; and although the court must set the matter for a hearing if there are substantial legal or factual issues presented, such a hearing may either be a normal motion proceeding determined on the basis of written points and authorities, or a more formal adjudication with the petitioner and witnesses present and testifying.
(People
v.
Shipman
(1965)
supra,
We do not reach the People’s contention that the public defender was not authorized to appear for petitioner until a formal substitutiоn of attorneys was filed with the clerk and served on the district attorney. (Code Civ. Proc., §§ 284, 285.) Whatever its merits, the point was not raised at the trial level where any oversight in this regard could easily have been corrected. It will therefore be deemed to have been waived.
The judgment is affirmed. Inasmuch as the underlying proceeding is criminal in nature, neither side shall recover costs on this appeal.
Traynor, C. J., McComb, J., Peters, J., Tobriner, J., Burke, J., and Sullivan, J., concurred.
Notes
The County and the City of Los Angeles establishеd public defender systems in 1913 and 1915 respectively, and in 1921 the Legislature enacted a general enabling statute (Stats. 1921, ch. 245; now Gov. Code, §§27700-27711). All public defender offices have since been established pursuant to that legislation, together with charter provisions and ordinances not inconsistent with the general law. (Note, Representation of Indigents in California (1961) 13 Stan.L.Rev. 522, 529-532.) At the present time such offices are operating in more than half the counties of the state, including most of the metropolitan areas.
“ (b) Upon request, he shall prosecute actions for the collection of wages and other demands of any person who is not financially able to employ counsel, where the sum involved does not exceed one hundred dollars ($100) and where, in the judgment of the public defender, the claim urged is valid and enforceable in the courts.
‘ ‘ (c) Upon request, he shall defend any person who is not financially able to employ counsel in any civil litigation in which, in the judgment of the public defender, the person is being persecuted or unjustly harassed.
‘ ‘ (d) Upon order of the court, he shall rеpresent any person who is not financially able to employ counsel in proceedings [relating to mentally disordered sex offenders and mentally ill persons].
‘‘ (e) Upon order of the court, he shall represent any person who is entitled to be represented by counsel but is not financially able to employ counsel in proceedings [relating to juvenile offenders and minor wards].” (Italics added.)
Thus in the immediately preceding paragraph of
Smiley
(
“
The need for representation is immediate. It arises at least as early as the first formal criminal charge. . . . Those having funds to emplоy private counsel generally have representation earlier than that. ’ ’
(People
v.
Ferry
(1965)
supra,
Quickly distinguishable are two early eases cited by the People: in.
Clark
v.
Willett
(1868)
In counties in which the public defender is elected rather than appointed, the boards of supervisors retains certain budgetary controls and the incumbent of that office must stand for reeleetion every four years (Gov. Code, §37704) and in the meanwhile is subject to recall (Elec. Code, § 37201).
Indeed, a contrary construction would even deny the possibility of an indigent coram nobis petitioner’s being represented by the public defender “upon order of the court,’’ in direct contradiction to our holding in Shipman.
In the particular case before us, however, we note that when this motion was first presented respondent court set the matter for a hearing in which counsel were to participate. It would appear advisable to follow that procedure upon remand.
