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.