In the U.S., the Solicitor General is "the government's lawyer". He or she is a presidential appointee who argues cases for the govt. in the upper federal courts and chiefly before the Supreme Court. The Attorney General is the head of the Justice Dept. and is sort of the chief prosecutor of the U.S., except that he doesn't appear in court.