N.Y. Multiple Residence Law § 135
It shall be unlawful to erect a frame multiple dwelling exceeding two stories in height.