; C.D. CA. July 24, 2015)), consent decrees, and settlement agreements (including the Flores settlement agreement). 4. Access to counsel for unaccompanied alien children (a) Appointment of counsel In any removal proceeding and in any appeal proceeding before the Attorney General from any such removal proceeding, an unaccompanied alien child (as defined in section 462(g) of the Homeland Security Act on 2002 ( 6 U.S.C. 279(g) )) shall be represented by Government-appointed counsel, at Government expense. (b) Length of representation Once a child is designated as an unaccompanied alien child under subsection (a)— (1) the child shall be represented by counsel at every stage of the proceedings from the child’s initial appearance through the termination of immigration proceedings; and (2) any ancillary matters appropriate to such proceedings even if the child reaches 18 years of age or is reunified with a parent or legal guardian while the proceedings are pending. (c) Notice Not later than 72 hours after an unaccompanied alien child is taken into Federal custody, the child shall be notified that he or she will be provided with legal counsel in accordance with this section. (d) Within detention facilities The Secretary shall ensure that unaccompanied alien children have access to counsel inside all detention, holding, and border facilities. (e) Pro bono representation (1) In general To the maximum extent practicable, the Attorney General should make every effort to utilize the services of competent counsel who agree to provide representation to such children under this section without charge. (2) Development of necessary infrastructures and systems The Attorney General shall develop the necessary mechanisms— (A) to identify counsel available to provide pro bono legal assistance and representation to children under this section; and (B) to recruit such counsel. (f) Contracts