; (E) investigate and refer for prosecution any civil or criminal violation of the immigration laws or any offense described in section 287(a)(5) of the Immigration and Nationality Act ( 8 U.S.C. 1357(a)(5) ); and (F) carry out other duties and powers prescribed by the Director. (h) Office of the Principal Legal Advisor (1) In general There is established in U.S. Immigration and Customs Enforcement the Office of the Principal Legal Advisor. (2) Principal legal advisor There shall be at the head of the Office the Principal Legal Advisor a Principal Legal Advisor. (3) Duties The Office of the Principal Legal Advisor shall— (A) represent U.S. Immigration and Customs Enforcement in venues and fora as authorized by the Director or otherwise permitted by law; and (B) carry out other duties and powers prescribed by the Director. (i) Office of Professional Responsibility (1) In general There is established in U.S. Immigration and Customs Enforcement the Office of Professional Responsibility. (2) Associate director There shall be at the head of the Office of Professional Responsibility an Associate Director, who shall report to the Director. (3) Duties The Office of Professional Responsibility shall— (A) investigate allegations of criminal, civil, or administrative misconduct involving any employee, officer, or contractor of U.S. Immigration and Customs Enforcement; (B) inspect and review U.S. Immigration and Customs Enforcement’s offices, operations, and processes, including detention facilities operated or used by U.S. Immigration and Customs Enforcement, and provide an independent review of U.S. Immigration and Custom Enforcement’s organizational health, effectiveness, and efficiency of mission; (C) provide and manage the security programs and operations for U.S. Immigration and Customs Enforcement