N.Y. Real Property Actions & Proceedings Law § 1391
Sections 991 and 992 shall apply to an action to foreclose a mortgage on real property.