
    The People of the State of New York, Respondent, v Derrick Cane, Appellant.
    [825 NYS2d 710]
   Appeal by the defendant from a judgment of the Supreme Court, Queens County (Latella, J.), rendered March 16, 2005, convicting him of criminal possession of a weapon in the third degree, upon a juiy verdict, and imposing sentence. The appeal brings up for review the denial, after a hearing (Aloise, J.), of that branch of the defendant’s omnibus motion which was to suppress a statement he made to law enforcement officials.

Ordered that the judgment is affirmed.

The defendant contends that the hearing court erroneously found that he was not in custody at the time he made an inculpatory statement to the police in violation of his Miranda rights (see Miranda v Arizona, 384 US 436 [1966]). However, the defendant waived immunity and testified before the grand jury that he had possession of the illegal weapon under circumstances negating innocent possession. Therefore, we find that the admission of the defendant’s statement to the same effect was a harmless error (see People v McMillon, 31 AD3d 136 [2006], lv denied 7 NY3d 815 [2006]), since it merely tracked his grand jury testimony, which was received in evidence during trial. Adams, J.P., Ritter, Mastro and Lifson, JJ., concur.  