; and (B) by inserting before the period at the end the following: , Indian tribes, and tribally designated housing entities. For purposes of this paragraph, the terms Indian tribe and tribally designated housing entity shall have the same meanings given such terms in section 4 of the Native American Housing Assistance and Self-Determination Act of 1996 ( 25 U.S.C. 4103 ) ; and (2) in subparagraph (B), by inserting , Indian tribes, and tribally designated housing entities after organizations) . 505. Competitive grants Title VII ( 25 U.S.C. 4211 et seq. ) is amended by adding at the end the following new section: 706. Competitive grants (a) Authority To the extent amounts are made available pursuant to subsection (d), the Secretary shall make grants under this section, pursuant to a competition for such grants, to eligible recipients of block grants under title I that apply for grants under this section for use only for carrying out eligible affordable housing activities under section 202 ( 25 U.S.C. 4132 ). (b) Priority; considerations In awarding grants under this section, the Secretary shall— (1) give priority to projects for construction, and related necessary infrastructure, that will increase the inventory of affordable housing; (2) encourage housing rehabilitation projects that will increase the useful life of existing affordable housing dwelling units and alleviate substandard housing conditions; (3) encourage necessary affordable housing-related infrastructure projects that will enable future construction or rehabilitation