N.Y. Comp. Codes R. & Regs. tit. 20, § 7-4.2
(b) Each such tax is a lien and binding on the real and personal property of the taxpayer, or of a transferee liable to pay the tax, until the tax is paid in full, subject to the following exceptions:
(1) The lien of such taxes after the expiration of 10 years from the date they became due and payable is no longer a lien as to the following:
(ii) mortgagees of real estate who would be holders in good faith but for such taxes, additions to tax, penalties or interest.
These limitations do not apply to any transfer from a corporation subject to tax to a person or corporation subject to tax with intent to avoid payment of any taxes, or where with like intent the transfer is made to a grantee corporation subject to tax, or any subsequent grantee corporation subject to tax, controlled by such grantor or which has any community of interest with it, either through stock ownership or otherwise.
Tax Law, § 1092(j)(1) and (3)