The main purpose of this legislation is to secure funding for the Federal-State partnership for intercity passenger rail grant program. This program is designed to enhance and support intercity passenger rail services across the United States. The objective is to improve rail infrastructure, making it more efficient and accessible for travelers. Key provisions of the legislation include the authorization of $7.5 billion in federal funding for each fiscal year from 2027 to 2031. This funding is intended to be used for various projects that fall under the intercity passenger rail grant program.