; (B) $6,000,000,000 for Capital Improvement and Maintenance , to remain available through September 30, 2023, subject to the conditions that— (i) the Secretary shall prioritize the use of those amounts to carry out authorized activities to— (I) provide stewardship for existing system roads and trails; (II) improve water quality; (III) improve, maintain, or restore infrastructure for the passage of fish and wildlife; (IV) decommission unneeded roads; (V) improve visitor services; and (VI) improve recreational and educational access, opportunities and other services to underserved communities; (ii) $300,000,000 shall be used for the Forest Service Legacy Roads and Trails Remediation Program established by section 8 of Public Law 88–657 (as added by section 4); (C) $600,000,000 for State and Private Forestry , of which— (i) $100,000,000, to remain available through September 30, 2023, shall be used for competitive grants under the landscape-scale restoration program established under section 13A of the Cooperative Forestry Assistance Act of 1978 ( 16 U.S.C. 2109a ), of which $50,000,000 shall be used to enter into contracts with Indian tribes pursuant to the Indian Self-Determination and Education Assistance Act ( 25 U.S.C. 5301 et seq.); (ii) $100,000,000 shall be used for the Forest Legacy Program, to remain available until expended; (iii) $100,000,000, to remain available through September 30, 2023, shall be used for the urban and community forestry program; (iv) $100,000,000, to remain available through September 30, 2023, shall be used for the community forest and open space conservation program; and (v) $200,000,000, to remain available through September 30, 2023, shall be used for State fire assistance (National Fire Capacity); (D) $30,000,000 for the Water Source Protection Program