; and (c) by inserting after subsection (a) the following: (b) High-Speed rail technology improvements There is authorized to be appropriated to carry out section 26102 $3,000,000,000 for each of fiscal years 2024 through 2028. (c) High-Speed rail corridor development There is authorized to be appropriated to carry out section 26106 $35,000,000,000 for each of fiscal years 2024 through 2028. (d) Restriction Not more than 20 percent of the total funds made available under sections 26101 and 26106 for a fiscal year may be spent on projects or activities for higher-speed passenger trains. . 4. Pilot program for transit-oriented development planning Section 20005(b) of the Moving Ahead for Progress in the 21st Century Act ( 23 U.S.C. 101 note) is amended by adding at the end the following: (4) Special consideration With respect to eligible projects involving high-speed rail corridor development, the Secretary shall give greater consideration to communities in which such projects are proposed to occur. (5) Authorizations of appropriations There is authorized to be appropriated to carry out this subsection $20,000,000 for each of fiscal years 2024 through 2028. . 5. Payments of credit risk premiums Section 22402(f) of title 49, United States Code, is amended by adding at the end the following: (8) Availability of grant amounts Amounts provided under the heading Office of the Secretary—National Infrastructure Investments in the Department of Transportation Appropriations Act, 2016 (title I of division L of Public Law 114–113 ), the Transportation, Housing and Urban Development, and Related Agencies Appropriations Act, 2018 (title I of division L of Public Law 115–141 ), or any subsequent appropriation Act may be used to pay credit risk premiums under this subsection. . 6. Acquiring freight train right of way (a) In general Chapter 261 of title 49, United States Code, is amended by adding at the end the following: 26107. Acquiring freight rail right-of-way (a) Sale of property A rail carrier may sell, grant an easement