; or (II) the alien is a threat to any other individual or the community. (ii) Consideration The Attorney General— (I) shall consider the totality of each case; and (II) may not rely on an alien's criminal conviction, arrest, pending criminal charge, or combination thereof as the sole factor to justify the continued detention of the alien. (4) Least restrictive conditions required (A) In general If an immigration judge determines, pursuant to a hearing under this section, that the release of an alien will not reasonably ensure the appearance of the alien as required or will endanger the safety of any other individual or the community, the immigration judge shall order the least restrictive conditions, or combination of conditions, that the judge determines will reasonably ensure the appearance of the alien as required and the safety of any other individual and the community, which may include— (i) release on recognizance; (ii) secured or unsecured release on bond