A jury found defendants Alvin Harris and Cleveland Peart guilty of two counts of first degree robbery (Pen. Code, §§211, 211a). The jury also found that Harris was armed with a deadly weapon at each of the two robberies, and further found to be true allegations charging him with two prior convictions of robbery. Each defendant was sentenced to state prison, the sentences on each count to run concurrently. Both defendants appealed.
*868 We are once again called upon to decide whether failure to provide counsel at the preliminary examination requires reversal of the ensuing judgment of conviction when the defendant did not move under section 995 of the Penal Code to set aside the information. We conclude that failure to thus present a timely challenge to the information precludes the right to raise the issue on appeal (Pen. Code, § 996); and as defendants’ other contentions are without merit, the judgments of conviction must be affirmed.
Defendants robbed a liquor store on November 1, 1965, and a dairy drive-in on November 17, 1965. They do not contest the sufficiency of the evidence of their guilt of either crime, and thus it is unnecessary to detail the events surrounding the robberies except insofar as they are related to the arguments advanced on this appeal.
The record fails to show that the committing magistrate fully discharged his obligations under section 859 of the Penal Code, which requires him to “inform [the defendant] of his right to the aid of counsel, ask him if he desires the aid of counsel, .... If the defendant desires and is unable to employ counsel, the court must assign counsel to defend him.” In
Bogart
v.
Superior Court
(1963)
The felony docket sheet of the justice court shows only that the preliminary examination was set for January 28, 1966, but continued to February 4, 1966, “at request of defendant.” It relates that Harris requested counsel, but fails to indicate that he was apprised of his right to appear with counsel of his choice or, if he was indigent, with appointed counsel.
At the preliminary examination, held in the same court on February 4, Peart was represented by a public defender but Harris appeared in propria persona. The latter’s appearance without counsel was discussed at the outset of the preliminary examination as follows: "[Deputy public defender] : May the record show that the office of the Public Defender is appearing only to represent Mr. Cleveland Peart? It is my understanding that Mr. Alvin Harris is appearing propria persona. The Court: This is my understanding. [Deputy district attorney] : May I ask the Public Defender did that come about *869 because Mr. Harris refused to be represented by a member of the Public Defender’s office? [Deputy public defender]: I have only been informed that the order appointing the Public Defender’s office to represent Mr. Harris has been vacated. The Court: The previous record will show that Mr. Harris did, in fact, divest himself of counsel here in court. [Deputy public defender] : I was not present in that instance, your honor. The Court: I know you were not. ’ ’
The record thus shows only that defendant requested counsel; it fails to reflect that he knowingly and intelligently waived his right to counsel. Under our decisions, it is clear there was no waiver. As we said in
People
v.
Stewart
(1965)
Had Harris objected to his illegal commitment by moving under section 995 of the Penal Code to set aside the information, and had that motion been denied, we would be required to decide whether failure to grant the motion necessitates a reversal of the judgment of conviction in the absence of any showing of prejudice. The People argue that the preliminary examination, as practiced in this state, is not a “critical stage” of the proceedings, and accordingly that prejudicial error does not result where the committing magistrate fails to appoint counsel at the preliminary examination. But we need not reach that question in the case at bar. 1
*870
We hold that the failure to move to set aside the information (Pen. Code, § 995) bars the defense from questioning on appeal any irregularity in the preliminary examination (Pen. Code, § 996).
2
We thereby follow a long line of decisions in both this court and the Courts of Appeal, uniformly holding that section 996 forecloses an attack on the preliminary examination in the absence of a motion under section 995. (See,
e.g., People
v.
Gilliam
(1952)
The Legislature has provided defendants in criminal cases with a statutory opportunity to test the legality of their commitment, and it is not an undue burden to expect defendants who wish to raise this issue to proceed by filing a timely motion under section 995. When an illegally committed defendant pursues his statutory remedy, the courts will, without hesitation, invalidate his commitment.
(Bogart
v.
Superior Court
(1963)
supra,
Both defendants further contend that certain evidence introduced at trial was derived from an illegal search and seizure. After the second robbery, the victim immediately informed the police and described defendants and their car, a red-and-white Chrysler product. The officer dispatched to the scene of the crime encountered a vehicle answering the victim’s description and gave chase. Although defendants themselves were able to make good their escape, the investigating officer promptly discovered their veMcle abandoned at a service station. On approaching the car to examine its registration, he noticed two hats, two coats, and a paper sack, in plain view on the back seat. These articles were not actually removed, however, until the ear had been towed away and impounded. The articles were subsequently used to link defendants to the commission of the second robbery.
Defendants rely on
People
v.
Burke
(1964)
Defendants also urge that they were deprived of their right to counsel at a critical stage of the proceedings because they were required to participate in several lineups without the presence of counsel.
(United States
v.
Wade
(1967)
We have carefully reviewed defendants’ other contentions, including those raised in their supplemental petitions prepared in propria persona, such as the court’s alleged abuse of discretion in denying their motion to sever the joint trial, the alleged inadequacy of counsel at trial, and Peart’s separate contention that, as he is an atheist, he should have been allowed to exclude jurors who believe in God; we find them devoid of merit.
The judgments are affirmed.
*873 Traynor, C. J., MeComb. J., Peters, J., Tobriner, J., Burke, J., and Sullivan, J., concurred.
The petition of appellant Harris for a rehearing was denied January 11, 1968.
Notes
Bogart
v.
Superior Court, supra,
and
Jennings
v.
Superior Court
(1967)
Seetion 995 provides in relevant part: “The indictment or information must be set aside by the court in which the defendant is arraigned, upon his motion, in either of the following cases: ... If it be an information : 1. That before the filing thereof the defendant had not been legally committed by a magistrate. ...” Section 996 provides in full: “If the motion to set aside the indictment or information is not made, the defendant is precluded from afterwards taking the objections mentioned in the last section [995].’’
Even if, arguendo, we were to decide that the preliminary examination constitutes a critical stage of the proceedings under federal constitutional law, we would nevertheless conclude that the waiver provision of section 996 comports fully with the standards enunciated in
Henry
v.
Mississippi
(1965)
