The Office of Legal Counsel is an office in the United States Department of Justice that supports the attorney general in their role as legal adviser to the president and all executive branch agencies.