The People noticed this appeal from an order of the superior court, made in the midst of a criminal trial by jury, “dismissing . . . [the] Information on the grounds of illegality of the arrest of the defendant.” The order was not based upon any defect in the information or the proceedings which resulted in the filing of the information; rather, it was based upon the mistaken view that the prosecution should not continue because of the stated “illegality of the arrest.” Defendant contends that the appeal should be dismissed because the subject order is not one of the orders or judgments comprehended in section 1238 of the Penal Code, which specifies the cases in which the People may appeal in a superior court criminal prosecution. The People urge that the order is appealable because it is within the language of subdivision 1 of section 1238, which provides for an appeal “From an order setting aside the . . . information.” We have concluded that only by improperly strained and unnatural construction of the order and of section 1238 could we hold that such order is appealable, and that in any event a reversal herein would be futile because defendant has been in jeopardy *202 within the meaning of the provision of the state Constitution (art. I, § 13) which forbids double jeopardy and, therefore could not be tried again.
Defendant was charged with felonious wagering in violation of subdivision 6 of section 337a of the Penal Code. He pleaded not guilty and trial before a jury began. Seven witnesses called by the People testified. The eighth witness called by the People was sworn and testified that he was a law enforcement officer. The prosecuting attorney asked the officer whether he had arrested defendant. Before the witness replied, defense counsel requested the court “to take a matter up in chambers." The following proceedings concerning the legality of the arrest were had outside the presence of the jury:
The officer testified that he had arrested defendant without a warrant at night and described the circumstances which caused and attended the arrest and the incident seizure of real evidence. Without motion by or suggestion of either counsel, the judge ruled as follows:
"The Court is going to dismiss the information. I feel there was sufficient information that, had the Sheriff’s Department wanted to obtain . . . a warrant . . . they could have done so and then that there would have been no question as to illegal [arrest and] search and seizure . . . I am dismissing the information at this time for insufficiency of the evidence, . . . based on the lack of reasonableness of the arrest.”
The prosecuting attorney protested, “If your Honor please, rather than on the basis of insufficiency of the evidence, it is a question that I would like to attack on appeal since, as your Honor knows, the law is unsettled in that regard." The trial judge persisted in his mistaken views “that having chosen to arrest the man without a warrant, they did so at their peril that the evidence that was obtained might not have been admitted . . . I am going to dismiss the information on that basis . . . On the illegality of the arrest, that there was sufficient time to obtain a . . . warrant.” Defense counsel said nothing either in protest against or in acceptance of this novel procedure of “dismissing the information” on the stated grounds.
Proceedings before the jury resumed. The judge said, “I feel . . . that the case should not go to trial and there was no question to be presented to the jury and therefore the Court on its own motion dismissed the information.” The jury were discharged. The minutes state that the order is one “dismissing said Information on the grounds of illegality of the arrest of the defendant."
*203
There is no statutory authorization for any such action by a trial court and we know of no decision by any court of appellate jurisdiction in this state which holds or even suggests that when a defendant is illegally arrested for a public offense the illegality of the arrest permeates subsequent proceedings by which he is formally charged with the offense and tried on the formal charge. This court’s holdings as to and discussions of the problems of illegal arrests, searches, and seizures (in the series of cases which began with
People
v.
Cahan
(1955),
Not only was the trial court mistaken in the stated belief that if a defendant was illegally arrested “there was no question to be presented to the jury”; it was also mistaken in its suggestion that where an officer has reasonable cause to believe that a defendant has committed a felony he cannot properly arrest the defendant, at night, without a warrant. (Pen. Code, § 836 [“A peace-officer may . . ., without a warrant, arrest a person: . . . 5. At night, when there is reasonable cause to believe that he has committed a felony”].)
*204 The People suggest that because the order of dismissal was predicated upon serious errors as to the law concerning illegal arrest and illegally obtained evidence, an appeal should be allowed in order that such errors, in the interest of justice, may be corrected. However, if the order is not appeal-able under accepted rules concerning appealability, we should not by fiat announce that it is appealable merely because it is egregiously erroneous.
Normally, the right of appeal is statutory and a judgment or order is not appealable unless it is expressly made so by statute.
(Title Ins. & Trust Co.
v.
California Dev. Co.
(1911),
In the case at hand the information was not set aside for a defect in the proceedings leading up to the filing of such information. There was nothing before the trial court when it made its order “dismissing said Information” to show whether defendant had been committed legally or for reasonable or probable cause. The effect of the order was not merely to set aside the information; it was to dismiss the action in the midst of trial. The subject of “Dismissal of the Action for Want of Prosecution or Otherwise,” including dismissal “in furtherance of justice” (Pen. Code, § 1385) is a subject dealt *205 with in a portion of the Penal Code (pt. 2, tit. 10, ch. 8) other than the portion (pt. 2, tit. 6, ch. 2) which concerns the setting aside of an accusatory pleading and which includes section 995, ante.
It has often been recognized that an order
dismissing an action
is not within the terms of section 1238 and, therefore, is not appealable. In denying a hearing in
People
v.
Knowles
(1915),
The People suggest that by an extension of our decision in
People
v.
Burke
(1956),
We implicitly recognized in the Burke ease that, as stated in
People
v.
Bank of San Luis Obispo
(1907),
The order here does not purport to be one dismissing the action “in furtherance of justice,” but even if we assume it to be of such character, it would not as such be appealable. The question of the appealability of such an order, made under section 1385, is discussed in
People
v.
More
(1886),
“It is contended, however, by appellant [People], that as the constitution gives this court appellate jurisdiction of questions of law arising ‘in all criminal cases prosecuted, by indictment or information, in a court of record,’ therefore *208 there is jurisdiction here, although no statutory machinery for the appeal has been provided, as held in People v. Jordan [1884, supra, footnote 1, ante, p. 204],65 Cal. 644 [4 P. 683 ]. But the order in question is, in its nature and character, one from which the people cannot appeal. The power under which the order was made [section 1385] is substantially the same as that held by the attorney-general in England, and by the prosecuting officer in many of the American states, to enter a nolle prosequi. The court, for the purposes of the order of dismissal, takes charge of the prosecution, and acts for the people. It holds the power to dismiss, as the attorney-general in England holds the power to enter a nolle prosequi, by virtue of the office and the law; and it is exercised upon official responsibility. The court having acted for the people, and under express power granted by them to so act in their criminal prosecutions, there is no appeal on their part for such action."
Not only does the instant case not come within the rule of any of the factual situations which have been recognized as affording the People a right of appeal but, as here-inabove suggested, a further ground—a constitutionally unsurmountable ground—precludes effective reversal. Defendant has been in jeopardy and a retrial would violate the provision of section 13 of article I of the California Constitution that “No person shall be twice put in jeopardy for the same offense.”
The situation is materially like that in
People
v.
Garcia
(1931),
supra,
*209
The purpose of the constitutional provision against double jeopardy is to prevent repeated harassment of a defendant upon a charge of the same offense. Certainly this purpose is subserved by refusing to permit repeated retrials of a defendant in order to remedy errors of law such as those here made by the trial court in the course of trial. As was held in
People
v.
Webb
(1869),
Since jeopardy has attached, we could not properly order a retrial; therefore, a reversal of the order from which the People purport to appeal would be useless.
(People
v.
Hill
(1905),
For the reasons above stated, the appeal is dismissed.
Notes
We have here no question of the qualification that the Legislature, by failure to enact rules providing for appeals
(People
v.
Jordan
(1884),
