; and (2) 80 percent of the eligible costs incurred by the State or Indian tribe in fiscal year 2023 and each subsequent fiscal year. . 7. Track relocation and railroad inspection safety grants (a) Defined term In this section, the term flammable liquids or gases means— (1) any flammable liquid (as defined in section 173.120 of title 49, Code of Federal Regulations); and (2) any flammable gas (Division 2.1) (as defined in section 173.115 of title 49, Code of Federal Regulations). (b) Establishment of program The Secretary of Transportation shall carry out a grant program to provide financial assistance for local projects, activities, and personnel that mitigate the impacts of, and public health or environmental risks associated with, the transport of flammable liquids or gases by rail. (c) Eligibility A State or political subdivision of a State is eligible to receive a grant under this section, to the extent the project or activity is consistent with the goals under subsection (b), for— (1) projects eligible for assistance under section 20154 of title 49, United States Code; or (2) State rail safety participation under section 20105 of title 49, United States Code. (d) Project selection criteria In determining whether to award a grant to an eligible recipient under this section, the Secretary shall consider— (1) the volume of flammable liquids or gases being transported by rail through a relevant State or community; and (2) the extent to which the project or activity will mitigate risk factors associated with rail transportation of flammable liquids or gases, including reducing risks to— (A) public safety; (B) the environment