The term "attorney general the United States" refers to the chief legal officer of the federal government. This position is responsible for enforcing the law, representing the government in legal matters, and advising the president and other government officials on legal issues. Synonyms for "attorney general" include "chief legal officer," "chief law enforcement officer," and "top prosecutor." In addition, the term "solicitor general" is often used to refer to the attorney general's chief deputy, who is responsible for representing the government before the Supreme Court. Other related terms include "US Attorney," which refers to the top federal prosecutor in each district, and "Department of Justice," which is the federal agency headed by the attorney general.