; and (ii) allocate amounts in the reserve to each State for each fiscal year for loans and loan guarantees to eligible entities in the State. (B) Amount The amount of an allocation made to a State for a fiscal year under subparagraph (A) shall bear the same ratio to the amount of allocations made for all States for the fiscal year as— (i) the number of communities with a population of 2,500 or fewer inhabitants in the State; bears to (ii) the number of communities with a population of 2,500 or fewer inhabitants in all States. (C) Unobligated amounts Any amounts in the reserve established for a State for a fiscal year under subparagraph (B) that are not obligated by April 1 of the fiscal year shall be available to the Secretary to make loans and loan guarantees under this section to eligible entities in any State, as determined by the Secretary. (k) Termination of authority No grant, or loan, or loan guarantee may be made under this section after September 30, 2028. . (b) Effective date The amendment made by subsection (a) shall take effect on October 1, 2023.