; (2) an insular area; (3) a unit of general local government; and (4) an Indian tribe. (b) Authority; use (1) In general The Secretary shall provide assistance under this section to eligible entities for necessary expenses for activities authorized under this title related to disaster relief, resiliency, long-term recovery, restoration of infrastructure and housing, mitigation, and economic revitalization in the most impacted and distressed areas resulting from a major disaster declared pursuant to the Robert T. Stafford Disaster Relief and Emergency Assistance Act ( 42 U.S.C. 5121 et seq.). (2) Other assistance The Secretary may provide an appropriate amount of assistance to eligible entities outside an area described in paragraph (1) that receives displaced residents due to a major disaster declared pursuant to the Robert T. Stafford Disaster Relief and Emergency Assistance Act ( 42 U.S.C. 5121 et seq.) for the purpose of carrying out eligible activities to provide housing to and meet other disaster recovery needs of those displaced residents. (3) Consideration In carrying out eligible activities with assistance provided under this section, a grantee shall prioritize activities that address housing recovery needs and how to better recover from and withstand future disasters, prolong the life of housing and infrastructure, use cost-effective means of preventing harm to people and property, incorporate protective features, redundancies, energy savings, and other measures that will assure the continuation of critical services during future disasters. (c) Timing (1) Deadlines for allocation of amounts Except as provided in paragraph (2), after the enactment of an appropriations Act making funds available for assistance under this section, the Secretary shall allocate for grantees, based on the best available data— (A) not less than one-third of funds provided for assistance under this section, within 60 days of the date of enactment of that Act