that any distribution under this subparagraph must be in the form of a qualified distribution (as defined in section 401(a)(38)(B)(i)) or, in the case of a lifetime income investment, a qualified plan distribution annuity contract (as defined in section 401(a)(38)(B)(iv)). . (d) Eligible deferred compensation plans Subparagraph (A) of section 457(d)(1) of such Code is amended by striking or at the end of clause (ii), by inserting or at the end of clause (iii), and by adding after clause (iii) the following: (iv) with respect to amounts invested in a lifetime income investment (as defined in section 401(a)(38)(B)(ii)) or a managed account investment (as defined in section 401(a)(38)(B)(v)), the date that is 90 days prior to the date that such lifetime income investment or such managed account investment may no longer be held as an investment option under the plan (within the meaning of section 401(a)(38)(B)(vii)), provided that any distribution under this subparagraph must be in the form of a qualified distribution (as defined in section 401(a)(38)(B)(i)) or, in the case of a lifetime income investment, a qualified plan distribution annuity contract (as defined in section 401(a)(38)(B)(iv)), . (e) Effective date The amendments made by this section shall apply to plan years beginning after December 31, 2017. 203. Qualifying longevity annuity contracts (a) In general By the date that is one year after the date of enactment of this Act, the Secretary of the Treasury shall amend the regulation issued by the Department of the Treasury relating to Longevity Annuity Contracts 79 Fed. Reg. 37633 (July 2, 2014), as follows: (1) Repeal 25-percent premium limit The Secretary shall amend Q&A–17(b)(3) of 26 C.F.R. section 1.401(a)(9)–6 and Q&A–12(b)(3) of 26 C.F.R. section 1.408–8 to eliminate the requirement that premiums for qualifying longevity annuity contracts be limited to 25 percent of an individual’s account balance, and to make such corresponding changes to the regulations and related forms as necessary to reflect