; or (ii) the issuance to the person of a Notice to Appear or other document initiating proceedings under section 235, 238, 240, or 241. (B) Clarification The appointment of counsel based on the issuance of a Notice to Appear shall occur regardless of whether the Notice to Appear has been filed with the immigration court. The appointment of counsel for a detained person shall occur as soon as possible, but in no event later than 24 hours after such person is taken into the custody of the Department of Homeland Security. (4) Continuous representation (A) In general An individual for whom counsel is appointed under this section shall be represented continuously at every stage of proceedings beginning with the initial appearance before any official with adjudicatory authority and including any proceedings before the Immigration Courts, the Board of Immigration Appeals, Federal district courts, Federal courts of appeal, and the United States Supreme Court, including ancillary matters related to the proceedings described in subsection (a), and ending when all such proceedings have concluded. (B) Appointment of different counsel If the nature of the representation needed by a person in proceedings under this section requires the appointment of different representatives for different stages of such proceedings, all such representatives shall comply with the minimum standards of representation described in paragraph (1). (C) Appointment of new counsel after relocation The Office of Immigration Representation established under section 202 of the Fairness to Freedom Act of 2023 shall ensure that each individual who is released from custody and moves to a State or municipality other than the State or municipality in which he or she was in custody, or who is transferred to a detention facility in another State or municipality is provided with counsel in the new State or municipality in which the individual resides or is detained. (5) Construction This subsection shall be broadly construed to attach in any proceeding and