Development Act of 1974 ( 42 U.S.C. 5301 et seq.) related to disaster relief, long-term recovery, restoration of infrastructure and housing, economic revitalization, and mitigation in the most impacted and distressed areas resulting from a major disaster that occurred in 2018 pursuant to the Robert T. Stafford Disaster Relief and Emergency Assistance Act ( 42 U.S.C. 5121 et seq.): Provided , That funds shall be awarded directly to the State, unit of general local government, or Indian tribe (as such term is defined in section 102 of the Housing and Community Development Act of 1974) at the discretion of the Secretary: Provided further , That any funds made available under this heading and under the same heading in Public Law 115–254 that remain available, after the funds under such headings have been allocated for necessary expenses for activities authorized under such headings, shall be allocated to grantees, for mitigation activities in the most impacted and distressed areas resulting from a major disaster that occurred in 2018: Provided further , That such allocations shall be made in the same proportion that the amount of funds each grantee received under this Act and the same heading in division I of Public Law 115–254 bears to the amount of all funds provided to all grantees that received allocations for disasters that occurred in 2018: Provided further , That of the amounts made available under the text preceding the first proviso under this heading and under the same heading in Public Law 115–254 , the Secretary shall allocate to all such grantees an aggregate amount not less than 33 percent of the sum of such amounts of funds within 120 days after the enactment of this Act based on the best available data, and shall allocate no less than 100 percent of such funds by no later than 180 days after the enactment of this Act: Provided further , That the Secretary shall not prohibit the use of funds made available under this heading and the same heading in Public Law 115–254 for non-Federal share as