The Solicitor General is a cabinet position in several countries, dealing with legal affairs.
In the United States the Solicitor General is that person who represents or advises a government when it is party to a suit, generally in front of its supreme court.
In the Republic of Ireland the Solicitor General is known as the Chief State Solicitor. The Office of Chief State Solicitor is a branch of the Attorney General's Office.