In the state of New York, a landlord must file an eviction lawsuit in order to evict a tenant. After the lawsuit is filed, a hearing will be held for the landlord and tenant can present their cases to a judge. Should the judge rule in favor of the landlord, the landlord will receive a warrant of non-payment, giving the landlord the authority to have the tenants removed.