N.Y. Estates, Powers & Trusts Law § 5-1.1
(a) Election by surviving spouse against will executed after August thirty-first, nineteen hundred thirty and prior to September first, nineteen hundred sixty-six.
(1) Where a testator executes a will after August thirty-first, nineteen hundred thirty but prior to September first, nineteen hundred sixty-six, and is survived by a spouse, a personal right of election is given to the surviving spouse to take a share of the decedent's estate, subject to the following:
(b) Inter vivos dispositions treated as testamentary substitutes for the purpose of election by surviving spouse.
(1) Where a person dies after August thirty-first, nineteen hundred sixty-six and is survived by a spouse who exercises a right of election under paragraph (c), the following transactions effected by such decedent at any time after the date of the marriage and after August thirty-first, nineteen hundred sixty-six, whether benefiting the surviving spouse or any other person, shall be treated as testamentary substitutes and the capital value thereof, as of the decedent's death, included in the net estate subject to the surviving spouse's elective right:
(c) Election by surviving spouse against wills executed and testamentary provisions made after August thirty-first, nineteen hundred sixty-six; election where decedent dies intestate as to all or any part of his estate.
(1) Where, after August thirty-first, nineteen hundred sixty-six, a testator executes a will disposing of his entire estate, and is survived by a spouse, a personal right of election is given to the surviving spouse to take a share of the decedent's estate, subject to the following:
(2) Where, after August thirty-first, nineteen hundred sixty-six, a person dies intestate as to all or any part of his estate, and, in the case of part intestacy, executes a will after such date, and is survived by a spouse, a personal right of election is given to the surviving spouse to take a share of the testamentary provisions made by the decedent, as such provisions are defined in subparagraph (1) (C), subject to the following:
(d) General provisions governing right of election.
(3) Except as otherwise expressly provided in the will or other instrument making a testamentary provision, ratable contribution to the share to which the surviving spouse is entitled shall be made by the beneficiaries (including the recipients of any such testamentary provision), other than the surviving spouse, under:
(4) The right of election is personal to the surviving spouse, except that an election may be made by:
(e) Procedure for exercise of right of election.
(f) Waiver or release of right of election.
(3) Such a waiver or release is effective, in accordance with its terms, whether: