A lawyer qualified to represent in court a party to a lawsuit.
solicitor general
noun
In common-law countries, a legal officer who is the chief representative of a regional or national government in courtroom proceedings; sometimes a deputy of the attorney general.
How often have the words attorney-at-law and solicitor general occurred in a corpus of books? (source: Google Ngram Viewer )