; or (B) to comply with the conditions of the status described in subparagraph (A); (4) was admitted as an immigrant and subsequently failed to comply with the requirements of such status; or (5) failed to depart the United States as required under a voluntary departure agreement or under a final order of removal. (b) In general If a member of a law enforcement entity of a State (or, if appropriate, a political subdivision of the State), exercising authority with respect to the apprehension or arrest of an illegal alien, submits a request to the Secretary of Homeland Security that the alien be taken into Federal custody, the Secretary shall— (1) (A) not later than 48 hours after the conclusion of the State charging process or dismissal process (or if no State charging or dismissal process is required, not later than 48 hours after the alien is apprehended), take the alien into the custody of the Federal Government and incarcerate the alien; or (B) request that the relevant State or local law enforcement agency temporarily detain or transport the alien to a location for transfer to Federal custody