; and (B) $30,000,000 for each of fiscal years 2025 and 2026. ; and (2) in subsection (b), by striking paragraph (2) and inserting the following: (2) Appropriation Out of any money in the Treasury not otherwise appropriated, there are appropriated to the Secretary $30,000,000 for each of fiscal years 2024 through 2027 to carry out this subsection. . (d) Incentives for developing and sustaining structural competency in providing health and human services (1) In general Part II of subtitle B of title XX of the Social Security Act ( 42 U.S.C. 397m–5 ) is amended by adding at the end the following: 2047. Incentives for developing and sustaining structural competency in providing health and human services (a) Grants to States To support linkages to legal services and medical-Legal partnerships (1) In general Within 2 years after the date of the enactment of this section, the Secretary shall establish and administer a program of grants to States to support the development or adoption of approaches to maintain or improve linkages between health services, human services, and legal services for older adults and adults with disabilities, including through the following: (A) Medical-legal partnerships The establishment and support of medical-legal partnerships, the incorporation of the partnerships in the elder justice framework and health and human services safety net, and the implementation and operation of such a partnership by an eligible grantee— (i) at the option of a State, in conjunction with an area agency on aging; (ii) in a solo provider practice in a health professional shortage area (as defined in section 332(a) of the Public Health Service Act), a medically underserved community (as defined in section 399V of such Act), or a rural area (as defined in section 330J of such Act); (iii) in a minority-serving institution of higher learning with health, law, and social services professional programs