; (B) the offense described in subparagraph (A) was committed while the person was on release pending trial for a Federal, State, or local offense; and (C) a period of not more than 5 years has elapsed since the date of conviction or the release of the person from imprisonment, for the offense described in subparagraph (A), whichever is later. (3) Presumption arising from other offenses involving illegal substances, firearms, violence, or minors Subject to rebuttal by the person, it shall be presumed that no condition or combination of conditions will reasonably assure the appearance of the person as required and the safety of the community if the judicial officer finds that there is probable cause to believe that the person committed— (A) an offense for which a maximum term of imprisonment of 10 years or more is prescribed in the Controlled Substances Act ( 21 U.S.C. 801 et seq.), the Controlled Substances Import and Export Act ( 21 U.S.C. 951 et seq.), or chapter 705 of title 46; (B) an offense under section 924(c), 956(a), or 2332b of this title; (C) an offense listed in section 2332b(g)(5)(B) of this title for which a maximum term of imprisonment of 10 years or more is prescribed; or (D) an offense involving a minor victim under section 1201, 1591, 2241, 2242, 2244(a)(1), 2245, 2251, 2251A, 2252(a)(1), 2252(a)(2), 2252(a)(3), 2252A(a)(1), 2252A(a)(2), 2252A(a)(3), 2252A(a)(4), 2260, 2421, 2422, 2423, or 2425 of this title. (4) Presumption arising from offenses relating to immigration law Subject to rebuttal by the person, it shall be presumed that no condition or combination of conditions will reasonably assure the appearance of the person as required if the judicial officer finds that there is probable cause to believe that the person is an alien and that the person— (A) has no lawful immigration status in the United States; (B) is the subject of a final order of removal