; (B) in subsection (a), as so designated— (i) by striking (at no expense to the Government) ; and (ii) by striking he shall and inserting the person shall ; and (C) by adding at the end the following: (b) Appointment of counsel (1) In general The Attorney General may appoint or provide counsel to aliens in any proceeding conducted under section 235(b), 236, 238, 240, or 241 or any other section of this Act. (2) Access to counsel The Secretary of Homeland Security shall facilitate access to counsel for aliens detained inside immigration detention and border facilities in any proceeding conducted under section 235(b), 236, 238, 240, or 241. . (3) Appointment of counsel for children and vulnerable individuals (A) In general Section 292 of the Immigration and Nationality Act ( 8 U.S.C. 1362 ), as amended by paragraph (2), is further amended by adding at the end the following: (c) Children and vulnerable individuals Notwithstanding subsection (b), the Attorney General shall appoint counsel, at the expense of the Government if necessary, at the beginning of the proceedings or as expeditiously as possible, to represent in such proceedings any alien who has been determined by the Secretary of Homeland Security or the Attorney General to be— (1) a child; (2) a particularly vulnerable individual, such as— (A) a person with a disability; or (B) a victim of abuse, torture, or violence