; and (ii) in the case of a unit of general local government that is in a nonentitlement area, shall be returned to the Governor of the State for grants under this title to other units of general local government in the State that are not sanctuary jurisdictions. (C) Reallocation rules In reallocating amounts under subparagraphs (A) and (B), the Secretary— (i) shall apply the relevant allocation formula under subsection (b), with all sanctuary jurisdictions excluded; and (ii) shall not be subject to the rules for reallocation under subsection (c). . 1310. Reinstatement of the Secure Communities Program (a) Reinstatement The Secretary shall reinstate and operate the Secure Communities immigration enforcement program administered by U.S. Immigration and Customs Enforcement between 2008 and 2014. (b) Authorization of appropriations There is authorized to be appropriated $150,000,000 to carry out this section. 2 Protection and due process for unaccompanied alien children 1320. Short title This chapter may be cited as the Protecting Children and America's Homeland Act of 2017 . 1321. Repatriation of unaccompanied alien children Section 235(a) of the William Wilberforce Trafficking Victims Protection Reauthorization Act of 2008 ( 8 U.S.C. 1232(a) ) is amended— (1) in paragraph (2)— (A) by amending the paragraph heading to read as follows: Rules for unaccompanied alien children .— ; (B) in subparagraph (A), in the matter preceding clause (i), by striking who is a national or habitual resident of a country that is contiguous with the United States shall be treated in accordance with subparagraph (B) and inserting shall be treated in accordance with subparagraph (B) or subsection (b), as appropriate ; and (C) in subparagraph (C)— (i) by amending the subparagraph heading to read as follows: Agreements with foreign countries .—