; (B) a project to improve passenger rail performance, including congestion mitigation, reliability improvements, achievement on-time performance standards established under section 207 of the Rail Safety Improvement Act of 2008 ( 49 U.S.C. 24101 note), reduced trip times, increased train frequencies, higher operating speeds, electrification, and other improvements, as determined by the Secretary; and (C) a project to repair, rehabilitate, replace, or build infrastructure to expand or establish intercity rail passenger transportation and facilities, including high-speed rail. (2) Requirements To be eligible for a grant under this section, an applicant shall have, or provide documentation of a credible plan to achieve— (A) the legal, financial, and technical capacity to carry out the project; (B) satisfactory continuing control over the use of the equipment or facilities that are the subject of the project; and (C) an agreement in place for maintenance of such equipment or facilities. (3) Priority In selecting an applicant for a grant under this section, the Secretary shall give preference to capital projects that— (A) are supported by multiple States or are included in a regional planning process; and (B) achieve environmental benefits such as a reduction in greenhouse gas emissions or an improvement in local air quality. (4) Additional considerations In selecting an applicant for a grant under this section, the Secretary shall consider— (A) the cost-benefit analysis of the proposed project, including anticipated public benefits relative to the costs of the proposed project, including— (i) effects on system and service performance; (ii) effects on safety, competitiveness, reliability, trip or transit time, and resilience; (iii) impacts on the overall transportation system, including efficiencies from improved integration with other modes of transportation or benefits associated with achieving modal shifts; and (iv) the ability to meet existing or anticipated passenger or service demand