; and (ii) if the alien was previously detained, the alien shall be returned to the custody from which the alien was paroled. (E) Limitations on use of advance parole (i) Advance parole defined In this subparagraph, the term advance parole means advance approval for an alien applying for admission to the United States to request at a port of entry in the United States, a pre-inspection station, or a designated field office of the Department of Homeland Security, to be paroled into the United States under subparagraph (A). (ii) Approval and revocation of advance parole The Secretary of Homeland Security may, in the Secretary’s discretion, grant an application for advance parole. Approval of an application for advance parole shall not constitute a grant of parole under subparagraph (A). A grant of parole into the United States based on an approved application for advance parole shall not be considered a parole for purposes of qualifying for adjustment of status to lawful permanent resident status in the United States under section 245 or 245A. (iii) Revocation of advance parole The Secretary may, in the Secretary’s discretion, revoke a grant of advance parole to an alien at any time, regardless of whether the alien is inside or outside the United States. Such revocation shall not be subject to administrative appeal or judicial review. . 308. Stop Dangerous Sanctuary Cities Act (a) Short title This section may be cited as the Stop Dangerous Sanctuary Cities Act . (b) Ensuring that local and Federal law enforcement officers may cooperate to safeguard our communities (1) Authority to cooperate with federal officials A State, a political subdivision of a State, or an officer, employee, or agent of such State or political subdivision that complies with a detainer issued by the Department under sections 236, 241, or section 287 of the Immigration and Nationality Act ( 8 U.S.C. 1226 , 1231, or 1357)— (A) shall be deemed to be acting as an agent of the Department