N.Y. Penal Law
N.Y. Penal Law § 140.17
Criminal trespass in the first degree
This is the text of the statute as published at legislation.nysenate.gov, retrieved August 3, 2026. It is reproduced as written; Criminal.law has not summarized or reworded it. Read it at the official source, which controls if the two ever differ.
§ 140.17. Criminal trespass in the first degree. A person is guilty of criminal trespass in the first degree when he knowingly enters or remains unlawfully in a building, and when, in the course of committing such crime, he:
1. Possesses, or knows that another participant in the crime possesses, an explosive or a deadly weapon; or
2. Possesses a firearm, rifle or shotgun, as those terms are defined in section 265.00, and also possesses or has readily accessible a quantity of ammunition which is capable of being discharged from such firearm, rifle or shotgun; or
3. Knows that another participant in the crime possesses a firearm, rifle or shotgun under circumstances described in subdivision two. Criminal trespass in the first degree is a class D felony.
Reading a statute is the first step
A statute says what the law is, not how it applies to one person. The Roadmap lays out the stages of a case and the questions worth taking to a lawyer — without asking what happened.