; and (D) by adding at the end the following: (9) For purposes of paragraph (2)(A)(ii), the amount determined under such paragraph shall not exceed the primary insurance amount for such month of a hypothetical individual— (A) who became entitled to old-age insurance benefits upon attaining early retirement age during the month in which the deceased individual referred to in paragraph (1) became entitled to old-age or disability insurance benefits, or died (before becoming entitled to such benefits), and (B) to whom wages and self-employment income were credited in each of such hypothetical individual’s elapsed years (within the meaning of section 215(b)(2)(B)(iii)) in an amount equal to the national average wage index (as described in section 209(k)(1)) for each such year. . (b) Conforming amendment Section 209(k)(1) of the Social Security Act ( 42 U.S.C. 409(k)(1) ), as amended by section 103(c), is further amended by inserting 202(e)(9), 202(f)(9), after sections . (c) Effective date The amendments made by this section shall apply with respect to widow’s or widower’s insurance benefits payable for months in calendar years 2025 through 2034. 106. Increasing benefits for beneficiaries after 15 years of eligibility (a) In general Section 202 of the Social Security Act ( 42 U.S.C. 402 ) is amended by adding at the end the following new subsection: (aa) Increase in benefit amounts on account of long-Term eligibility (1) In the case of an individual who is a qualified beneficiary for a calendar year after 2024, the amount of any monthly insurance benefit of such qualified beneficiary under this section or section 223 for any month in such calendar year shall be increased in accordance with paragraph (3). (2) (A) For purposes of this subsection, the term qualified beneficiary for a calendar year means an individual in any case in which such calendar year is at least the 16th year beginning after the applicable year of eligibility for such individual. (B) For purposes of this subsection, the applicable year of