; and (B) shall provide pretrial services with respect to individuals who are charged with an offense in the State, provide supervision for offenders on probation, parole, and supervised release pursuant to the laws of the State, and carry out sex offender registration functions in the State, in the same manner and to the same extent as the Agency provided such services and supervision and carried out such functions for individuals described in subparagraph (A). (3) Continuation of Federal benefits for employees (A) Continuation Any individual who is an employee of the Court Services and Offender Supervision Agency for Washington, Douglass Commonwealth as of the day before the date described in paragraph (4), and who, on or after such date, is an employee of the office of the State which provides the services and carries out the functions described in paragraph (4), shall continue to be treated as an employee of the Federal Government for purposes of receiving benefits under any chapter of subpart G of part III of title 5, United States Code, notwithstanding the termination of the provisions of paragraph (2) under paragraph (4). (B) Responsibility for employer contribution Beginning on the date described in paragraph (4), the State shall be treated as the employing agency with respect to the benefits described in subparagraph (A) which are provided to an individual who, for purposes of receiving such benefits, is continued to be treated as an employee of the Federal Government under such subparagraph. (4) Termination Paragraph (2) shall terminate on the date on which the State provides written certification to the President that the State has in effect laws providing for the State to provide pretrial services, supervise offenders on probation, parole, and supervised release, and carry out sex offender registration functions in the State. 316. Courts (a) Continuation of operations (1) In general Except as provided in paragraphs (2) and (3) and subsection (b), title 11, District of Columbia Official Code, as in