; (C) is deportable by reason of having committed any offense covered in section 237(a)(2); (D) is convicted for an offense under section 275(a); (E) is convicted for an offense under section 276; (F) is convicted for any criminal offense; or (G) is inadmissible under section 212(a)(3)(B) or deportable under section 237(a)(4)(B), when the alien is released, without regard to whether the alien is released on parole, supervised release, and without regard to whether the alien may be arrested or imprisoned again for the same offense. (2) Release (A) In general Except as provided in subparagraph (B), the Secretary may release an alien described in paragraph (1) only if the Secretary decides pursuant to section 3251 of title 18, United States Code, and in accordance with a procedure that considers the severity of the offense committed by the alien, that— (i) release of the alien from custody is necessary to provide protection to a witness, a potential witness, a person cooperating with an investigation into major criminal activity, or an immediate family member or close associate of a witness, potential witness, or person cooperating with such an investigation, and (ii) the alien satisfies the Secretary that the alien is not a flight risk, poses no danger to the safety of other persons or of property, is not a threat to national security or public safety, and is likely to appear at any scheduled proceeding. (B) Arrested, but not convicted, aliens (i) Release for proceedings The Secretary of Homeland Security may release any alien held pursuant to paragraph (1) to the appropriate authority for any proceedings subsequent to the arrest. (ii) Resumption of custody If an alien is released under clause (i), the Secretary shall— (I) resume custody of the alien during any period pending the final disposition of any such proceedings that the alien is not in the custody of such appropriate authority