> For AI agents: read the machine-readable documentation index at [https://corpuslaw.us/llms.txt](https://corpuslaw.us/llms.txt) or the single-file full reference at [https://corpuslaw.us/llms-full.txt](https://corpuslaw.us/llms-full.txt).

# N.Y. Real Property Actions and Proceedings Law § 796-g — Defenses

- **Citation**: N.Y. Real Property Actions and Proceedings Law § 796-g
- **Node Type**: section
- **Jurisdiction**: New York (state)
- **Code Body**: Laws of New York (NY Senate Open Legislation, as published 2026-10-26) (N.Y. Laws)
- **Official Source**: [https://www.nysenate.gov/legislation/laws/RPA/796-g](https://www.nysenate.gov/legislation/laws/RPA/796-g)
- **Canonical URL**: [https://corpuslaw.us/codes/new-york/real-property-actions-and-proceedings-law/article-7-c/section-796-g](https://corpuslaw.us/codes/new-york/real-property-actions-and-proceedings-law/article-7-c/section-796-g)
- **Semantic URL**: [https://corpuslaw.us/codes/new-york/real-property-actions-and-proceedings-law/article-7-c/section-796-g](https://corpuslaw.us/codes/new-york/real-property-actions-and-proceedings-law/article-7-c/section-796-g)

## Hierarchy

Division RPA — Real Property Actions and Proceedings Law > Article 7-C — SPECIAL PROCEEDINGS BY TENANTS OF DWELLINGS FOR JUDGMENT DIRECTING DEPOSIT OF RENTS AND THE USE THEREOF FOR THE PURPOSE OF REMEDYING CONDITIONS DANGEROUS TO LIFE, HEALTH OR SAFETY

## Text

§ 796-g.

Defenses. It shall be a sufficient defense to the proceeding, if the owner or any mortgagee or lienor of record establish that:

1. The condition or conditions alleged in the petition did not in fact exist or that such condition or conditions have been removed or remedied; or

2. Such condition or conditions have been caused by a petitioning tenant or tenants or members of the family or families of such petitioner or petitioners or of their guests or by other residents of the dwelling or their families or guests; or

3. Any tenant or resident of the dwelling has refused entry to the owner or the owner's agent to a portion of the premises for the purpose of correcting such condition or conditions.
