Secretary. For the purposes of this paragraph, population shall be determined based on the most recent year for which data are available from the United States Census Bureau. (4) Tribal set-aside The Secretary shall allocate funds to an entity designated under subsection (j) pursuant to the requirements of that subsection. (d) Disbursement of funds (1) Initial disbursement The Secretary shall disburse to the State housing finance agencies and entities designated under subsection (j) not less than 1/2 of the amount made available pursuant to this section, and in accordance with the allocations established under subsections (c) and (j), not later than 120 days after the date of enactment of this Act. The Secretary or designee shall enter into a contract with each State housing finance agency and each entity designated under subsection (j), which may be amended from time to time, establishing the terms of the use of such funds, in accordance with subsection (e), prior to the disbursement of such funds. (2) Second disbursement The Secretary shall disburse all funds made available pursuant to this section, and in accordance with the allocations established under subsections (c) and (j), not later than 180 days after the date of enactment of this Act. (e) Permissible uses of fund (1) In general Funds made available to State housing finance agencies and designated entities under subsection (j) pursuant to this section may be used to assist eligible households for the purposes established under subsection (b), which may include— (A) mortgage payment assistance