; and (B) by striking subparagraph (B). (e) Restoration of eligibility for previously eligible spouses The Secretary of the military department concerned shall restore annuity eligibility to any eligible surviving spouse who, in consultation with the Secretary, previously elected to transfer payment of such annuity to a surviving child or children under the provisions of section 1448(d)(2)(B) of title 10, United States Code, as in effect on the day before the effective date provided under subsection (f). Such eligibility shall be restored whether or not payment to such child or children subsequently was terminated due to loss of dependent status or death. For the purposes of this subsection, an eligible spouse includes a spouse who was previously eligible for payment of such annuity and is not remarried, or remarried after having attained age 55, or whose second or subsequent marriage has been terminated by death, divorce or annulment. (f) Effective date This section and the amendments made by this section shall take effect on the later of— (1) the first day of the first month that begins after the date of the enactment of this Act; or (2) the first day of the fiscal year that begins in the calendar year in which this Act is enacted.