"Although the attorney general advises the president, the basic authority of the office is derived from Congress and the functions of the office are subject to congressional control. In addition, the attorney general is a member of the bar and therefore an officer of the court subject to the directives of the judicial branch."
-http://legal-dictionary.thefreedictionary.com/Attorney+Gener...