N.Y. Real Property Actions & Proceedings Law § 796-A
2. A special proceeding as described in subdivision one of this section may also be commenced by the commissioner of the department charged with enforcement of the housing maintenance code in the municipality where the dwelling is located.