The Office of the Attorney General is the principal agency responsible for prosecuting criminal cases,providing legal advice to state agencies,representing the government in court and cooperating with foreign countries in criminal matters.It is also the duty of the Office of the Attorney General to protect civil rights and provide legal aid to the needy.The Office of the Attorney General is an independent agency,not under the control of any ministry,but reports directly to the Minister of Justice.The purpose of its independent status is to ensure justice and prevent political influence from interfering with prosecutorial functions.