N.Y. PEN Law § 140.17
This is the official text of N.Y. PEN Law § 140.17, part of New York’s Penal Law — defines crimes and punishments in New York.
Not legal advice. This page reproduces the official text of a government statute for reference only. Laws change, and how a statute applies depends on your specific facts. For advice about your situation, consult a licensed attorney in your state.
Criminal trespass in the first degree
Official statutory text
§ 140.17. Criminal trespass in the first degree.\n A person is guilty of criminal trespass in the first degree when he\nknowingly enters or remains unlawfully in a building, and when, in the\ncourse of committing such crime, he:\n 1. Possesses, or knows that another participant in the crime\npossesses, an explosive or a deadly weapon; or\n 2. Possesses a firearm, rifle or shotgun, as those terms are defined\nin section 265.00, and also possesses or has readily accessible a\nquantity of ammunition which is capable of being discharged from such\nfirearm, rifle or shotgun; or\n 3. Knows that another participant in the crime possesses a firearm,\nrifle or shotgun under circumstances described in subdivision two.\n Criminal trespass in the first degree is a class D felony.\n
Status: in_force · Read it on the official government site
Dealing with a criminal defense matter in New York?
See all New York Criminal Defense lawyers
About this page: Statute text is reproduced from official government publishers via the
Open US Law dataset
(Vaquill AI, snapshot v2026.08, CC BY 4.0). Primary legislative text like this is public domain under the government-edicts doctrine
(Georgia v. Public.Resource.Org, 2020). We link every section back to its official source so you can verify it independently.