; (G) in subsection (g)(2), by striking Such and inserting Except as provided in subsections (k)(5) and (aa), such ; (H) in subsection (h)(2)(A), by inserting and subsection (aa) after subparagraphs (B) and (C) ; and (2) Section 223(a)(2) of such Act ( 42 U.S.C. 423(a)(2) ) is amended by striking section 202(q) and inserting sections 202(q) and 202(aa) . (3) Section 209(k)(1) of such Act ( 42 U.S.C. 409(k)(1) ) is amended by inserting 202(aa)(3)(C)(i)(II), before 203(f)(8)(B)(ii) . (c) Effective date The amendments made by this section shall apply with respect to monthly insurance benefits payable for months in calendar years 2025 through 2034. 107. Providing caregiver credits for Social Security (a) In general Title II of the Social Security Act is amended by adding after section 234 ( 42 U.S.C. 434 ) the following new section: 235. Deemed wages for caregivers of dependent relatives (a) Definitions For purposes of this section— (1) (A) Subject to subparagraph (B), the term qualifying year means, in connection with an individual, any calendar year during which such individual was engaged for not less than 960 hours in providing care to a dependent relative without monetary compensation. (B) The term qualifying year does not include any year ending after the date on which such individual attains retirement age (as defined in section 216(l)). (2) The term dependent relative means, in connection with an individual— (A) a child, grandchild, niece, or nephew (of such individual or such individual’s spouse or domestic partner), or a child to which the individual or the individual’s spouse or domestic partner is standing in loco parentis, who is under the age of 12