Appeal by the People from so much of an order of the Supreme Court, Nassau County (Ayres, J), entered January 27, 2012, as, upon reviewing the grand jury minutes pursuant to a stipulation in lieu of motions, dismissed counts two and three of the indictment on the ground that the evidence presented to the grand jury was legally insufficient.
Ordered that the order is reversed insofar as appealed from, on the law, counts two and three of the indictment are reinstated, and the matter is remitted to the Supreme Court, Nassau County, for further proceedings on the indictment.
“Courts assessing the sufficiency of the evidence before a grand jury must evaluate ‘whether the evidence, viewed most favorably to the People, if unexplained and uncontradicted— and deferring all questions as to the weight or quality of the evidence—would warrant conviction’ ” {People v Mills, 1 NY3d
In this case, the defendant allegedly physically attacked the complainant as the complainant stood in the doorway of her apartment. Under the second count of the indictment, the defendant was charged with burglary in the first degree pursuant to Penal Law § 140.30 (2), which provides that “[a] person is guilty of burglary in the first degree when he [or she] knowingly enters or remains unlawfully in a dwelling with intent to commit a crime therein, and when, in effecting entry or while in the dwelling or in immediate flight therefrom, he [or she] or another participant in the crime . . . [c]auses physical injury to any person who is not a participant in the crime.” Under the third count of the indictment, the defendant was charged with burglary in the second degree pursuant to Penal Law § 140.25 (2), which provides that “[a] person is guilty of burglary in the second degree when he [or she] knowingly enters or remains unlawfully in a building with intent to commit a crime therein, and when . . . [t]he building is a dwelling.” We disagree with the conclusion of the Supreme Court that the evidence presented to the grand jury, viewed in the light most favorable to the People, was legally insufficient to establish the element, contained in each of these counts, that the defendant knowingly entered or remained unlawfully in a dwelling, i.e., the complainant’s apartment (see People v King, 61 NY2d 550, 554-555 [1984]; People v Jackson, 224 AD2d 547 [1996]; People v Daye, 150 AD2d 481, 481-482 [1989]). Accordingly, we must reverse