; or (II) to bring a civil action in an appropriate court of jurisdiction. (C) The agreement shall remain in full effect during the course of any and all legal proceedings. ; and (5) in paragraph (6) (as redesignated), by adding at the end the following: The Secretary of Homeland Security shall implement uniform training requirements for law enforcement officers who are, or will be, performing a function of an immigration officer under this subsection. The training requirements shall align with Federal Law Enforcement Training Center standards for training under this subsection (as in effect of the date of the enactment of this sentence). . 3. Funding Section 286(r) of the Immigration and National Act ( 8 U.S.C. 1356(r) ) is amended— (1) in the subsection heading, by striking Breached Bond/Detention Fund and inserting Breached Bond/Detention/287 (g) Fund ; (2) by striking Attorney General each place such term appears and inserting Secretary of Homeland Security ; (3) in paragraph (1), by striking Breached Bond/Detention and inserting Breached Bond/Detention/287(g) ; (4) in paragraph (2), by striking Department of Justice and inserting Department of Homeland Security ; and (5) in paragraph (3)— (A) in clause (i), by striking , and at the end and inserting a semicolon; (B) in clause (ii), by striking the period at the end and inserting ; and