A solicitor general is a government official who serves as the chief representative of the government in courtroom proceedings.