§ 711. Grounds where landlord-tenant relationship exists. A tenant
shall include an occupant of one or more rooms in a rooming house or a
resident, not including a transient occupant, of one or more rooms in a
hotel who has been in possession for thirty consecutive days or longer.
A tenant shall not include a squatter. For the purposes of this section,
a squatter is a person who enters onto or intrudes upon real property
without the permission of the person entitled to possession, and
continues to occupy the property without title, right or permission of
the owner or owner's agent or a person entitled to possession. In the
event of a conflict between the provisions regarding squatters of this
section and the provisions of subdivision three of section seven hundred
thirteen of this article, the provisions of section seven hundred
thirteen of this article shall be controlling. No tenant or lawful
occupant of a dwelling or housing accommodation shall be removed from
possession except in a special proceeding. A special proceeding may be
maintained under this article upon the following grounds: