The People appeal from an order of the superior court dismissing “in furtherance of justice,” pursuant to Penal Code section 1385, a criminal action in which defendants were charged with possession of marijuana (a violation of Health and Safety Code section 11530). The dismissal immediately followed, and was based upon, the defendants’ successful motion in the same court to suppress the only evidence supporting the charge. The motion to suppress evidence was made under the authority of Penal Code section 1538.5.
At the hearing on the motion the following evidence was produced. A soldier reported to police that he had responded to a solicitation by two females to engage in an act of prostitution. Agreeing to their terms he accompanied them to their apartment. After disrobing he entered the bedroom where he *780 saw the two women going through his trouser pockets. They took $1,200 in currency which he was unable to retrieve. To the police he described the women and pointed out the building. After being admitted by the apartment house manager the soldier pointed out apartment 111 as the location of the offense. The manager, who had a few days earlier reported prostitution activities in that apartment, said it was occupied by Floyd Maeklin and Myra Foster. The officers knocked on the door for several minutes without any response. They then secured a key from the manager and entered. Finding no one present they opened closet doors but otherwise made no search.
A few hours later, 10:30 p.m., the officers returned without the soldier. They knocked on the door of apartment 111 and shouted loudly, “It’s the police.” Movements were heard within the apartment. The police continued to call out “It’s the police”; they so announced themselves several times. Receiving no response they obtained a key from the manager, came back and opened the door. As the lock turned, they again called out, “Police, we are coming in.” The defendants were found in the apartment. Myra Foster was arrested, whereupon the police made a search of the apartment for the stolen money. 1 Underneath a bed they found a paper box containing marijuana. They then arrested the male defendant, Floyd Macklin.
Defendant Maeklin took the witness stand; he testified that he heard neither a knock on the door nor any announcement by the police.
The superior court, on the motion to suppress, found that the police did knock on the apartment door, announcing they were police, as they had testified. Defendants urged, however, that since there was no evidence that the police had explained the purpose for which admittance was desired as required by Penal Code section 844, 2 the entry, the arrest, and the incidental search which turned up marijuana, were unlawful.
The court concluded that there had been substantial compli *781 anee by the police with section 844 and denied the motion to suppress.
The order denying the motion to suppress evidence was entered on February 13, 1968. On February 28, 1968, the case of
People
v.
Rosales,
At the suggestion of defendants ’ counsel the superior court reconsidered, in the light of Rosales, the earlier motion to suppress. Concluding that Rosales necessarily required, for substantial compliance with Penal Code section 844, an explanation of the purpose for which police admittance was desired, 3 , 4 the court set aside its earlier order and granted the motion.
Since the order suppressing evidence removed the necessary evidence from the People’s case, the court thereupon, in furtherance of justice, dismissed the action as permitted by Penal Code section 1385. It is from the order dismissing the action that the instant appeal is taken.
The first question presented to us relates to the scope of an appeal from an order dismissing an action in furtherance of justice, which is based upon an order granting a motion to suppress evidence. The People contend that such an order of dismissal may be reversed if the appellate court finds error in the earlier Penal Code section 1538.5 suppression order. Defendants insist that the exclusive method for review of such an order suppressing evidence is by way of petition for mandate or prohibition; and that on an appeal from such a section 1385 order of dismissal the appellate court is limited to a determination whether the remaining unsuppressed evidence was sufficient to justify a trial of the defendant.
Penal Code section 1538.5, enacted in 1967, provides for a special hearing before trial, on the motion of a defendant, for the purpose of determining the validity of a search or seizure resulting in evidence proposed to be used against the defendant. Subdivision (j) of that section provides that if the *782 defendant’s motion is granted at the special hearing, the People may either relitigate the issue at trial (upon presentation, of additional evidence and a showing of good cause) or the People “may seek appellate review [by petition for writ of mandate or prohibition] as provided in subdivision (o) . . . , unless the court prior to the time such review is sought has dismissed the case pursuant to Section 1385.” (Italics added.) Subdivision (l), relating to a stay of proceedings pending appellate review, provides that “Nothing contained in this subdivision shall prohibit a court, at the same time as it rules upon the search and seizure motion, from dismissing a case pursuant to Section 1385 when such dismissal is upon the court’s own motion and is based upon an order at the special hearing granting defendant’s motion to return property or suppress evidence. ’ ’
In 1967, concurrently with the enactment of Penal Code section 1538.5 (Stats. 1967, eh. 1537), the Legislature enacted Penal Code section 1238, subdivision 7, authorizing an appeal by the People from “an order dismissing a case prior to trial . . . whenever such order is based upon an order granting defendant’s motion to . . . suppress . . . evidence made a.t a special hearing as provided in this Code. ’ ’
From the foregoing it seems apparent that the legislative scheme for review of an order suppressing evidence under Penal Code section 1538.5 is that if the motion is granted, and the ease remains pending because there is some evidence left in the case, the People are entitled to speedy relief by way of writ to test the order, during which time the proceedings are stayed. If, however, the order suppressing the evidence removes from the case the evidence required to convict, the trial court is authorized to dismiss the action in furtherance of justice (Pen. Code, § 1385); in such event there is no necessity for the speedy writ procedure to protect the interests of the People. In the latter case, as is the case in the granting of a comparable order setting aside an indictment or information for other reasons (see Pen. Code, §§ 995, 1238, subd. 1), the People are relegated to their remedy by way of appeal.
If, as argued by defendants, a section 1538.5 order suppressing evidence may not be reviewed on appeal from a related section 1385 dismissal, highly objectionable results would follow. Section 1538.5, subdivision (j), authorizes review by writ of prohibition or mandamus only if the case has not previously been dismissed under section 1385. It *783 would follow that when the case has been so dismissed the People would be without means of review of the suppression order on which the dismissal was based, a consequence clearly unintended by the Legislature.
We hold that where the People appeal from an order dismissing an action under Penal Code section 1385, and such order is based upon an order suppressing evidence (Pen. Code, § 1538.5), the appellate court may consider, and reverse for, error attending the earlier suppression order.
Other Courts of Appeal of this state have reached a similar conclusion. In
People
v.
Superior Court,
People
v.
Superior Court,
We turn to consider the contentions raised by defendants in the superior court and now on this appeal: (1) that the police had no probable cause to believe defendant Myra Foster was in the apartment at the time of her arrest, and (2) *784 that there was no substantial compliance with the “knock and notice” provisions of Penal Code section 844.
The police were advised by the soldier that he had observed the commission of a felony, of which he was the victim. They were entitled to rely and act on such information. (See
People
v.
Guidry,
The contention that the failure of the officers to ‘ ‘ explain the purpose for which admittance is desired” was fatal to the arrest and the consequent search is also without merit.
Defendants principally rely here, as they and the court did below, on
People
v.
Rosales, supra,
In the case before us the police fully complied with the requirements of
Marshall.
They knew that someone was within the apartment. The occupant did not respond to the knocking on the door or the announcement that they were police officers. Further explanation that they were there to make an arrest would appear to be futile. (See also
People
v.
Nash,
The order dismissing the action is reversed; the trial court will set aside the order suppressing evidence.
Molinari, P. J., and Sims, J., concurred.
On August 5, 1969, the opinion was modified to read as printed above. Bespondents’ petition for a hearing by the Supreme Court was denied September 24, 1969. Peters, J., was of the opinion that the petition should be granted.
Notes
Chimel
v.
California
(1969)
Penal Code section 844, as pertinent here, states: "To make an arrest ... a peace-officer may break open the door or window of the house in which the person to be arrested is, or in which they have reasonable grounds for believing him to be, after having demanded admittance cmd explained the purpose for which admittance is desired.” (Italics added.)
Our reading of
People
v.
Rosales,
It is conceded that the superior court found in favor of the People on the factual issues of the suppression proceedings.
A hearing was granted by the Supreme Court on April 30, 1969. The final opinion is reported at
