The Attorney General of Oklahoma is the State Attorney General for the state of Oklahoma. The attorney general serves as the chief legal and law enforcement officer of the State of Oklahoma and head of the Office of the Oklahoma Attorney General. The attorney general is responsible for providing legal advice to the other departments and agencies of the executive branch, legislative branch and judicial branch of the state government. The attorney general is also responsible for the prosecution of offenses against Oklahoma law and advocate for the basic legal rights of Oklahoma residents.