; (2) by redesignating paragraph (2) as paragraph (4); and (3) by inserting after paragraph (1) the following: (2) Definition For purposes of paragraph (1)(E), the terms burglary , theft , larceny , and shoplifting have the meaning given such terms in the jurisdiction where the acts occurred. (3) Detainer The Secretary of Homeland Security shall issue a detainer for an alien described in paragraph (1)(E) and, if the alien is not otherwise detained by Federal, State, or local officials, shall effectively and expeditiously take custody of the alien. . 4. Enforcement by attorney general of a State (a) Inspection of applicants for admission Section 235(b) of the Immigration and Nationality Act ( 8 U.S.C. 1225(b) ) is amended— (1) by redesignating paragraph (3) as paragraph (4); and (2) by inserting after paragraph (2) the following: (3) Enforcement by attorney general of a State The attorney general of a State, or other authorized State officer, alleging a violation of the detention and removal requirements under paragraph (1) or (2) that harms such State or its residents shall have standing to bring an action against the Secretary of Homeland Security on behalf of such State or the residents of such State in an appropriate district court of the United States to obtain appropriate injunctive relief. The court shall advance on the docket and expedite the disposition of a civil action filed under this paragraph to the greatest extent practicable. For purposes of this paragraph, a State or its residents shall be considered to have been harmed if the State or its residents experience harm, including financial harm in excess of $100. . (b) Apprehension and detention of aliens Section 236 of the Immigration and Nationality Act ( 8 U.S.C. 1226 ), as amended by this Act, is further amended— (1) in subsection (e)— (A) by striking or release ; and (B) by striking grant, revocation, or denial and insert revocation or denial