; and (B) in subparagraph (B), by inserting before the period at the end the following: , which may include initiating foreclosure proceedings in the tribal court having jurisdiction, but if the tribal court does not hold proceedings on a foreclosure complaint within the period provided under applicable law or within 90 days of service of the foreclosure complaint (whichever is longer), the Secretary may voluntarily dismiss the tribal court action and proceed to file in another court of competent jurisdiction . (2) Contract attorneys Clause (i) of section 184(h)(1)(A) of the Housing and Community Development Act of 1992 (12 U.S.C. 1715z–13a(h)(1)), as amended by subsection (b) of this section, is further amended by adding at the end the following: The Attorney General may contract for and use the services of private attorneys in handling such foreclosure proceedings if the Attorney General determines use of such attorneys will facilitate competent and cost-effective representation. . 503. Set-aside of USDA rural housing funding for Indian tribes Section 509 of the Housing Act of 1949 ( 42 U.S.C. 1479 ) is amended by adding at the end the following new subsection: (g) Set-Aside for Indian tribes For each fiscal year, the Secretary shall set aside and reserve for assistance for Indian tribes (as such term is defined in section 4 of the Native American Housing Assistance and Self-Determination Act of 1996 ( 25 U.S.C. 4103 )) an amount equal to 5.0 percent in each fiscal year of the aggregate amount of lending authority, budget authority, or guarantee authority, as appropriate, made available for such fiscal year for assistance under each of sections 502, 504, 515, 533, and 538 and of the aggregate amount made available to the Rural Utilities Service to carry out programs or activities. The procedure under this section for reserving amounts shall also provide that any assistance set aside in any fiscal year for Indian tribes that has not been expended by a reasonable date established by the Secretary shall be made