The Government Legal Department (previously called the Treasury Solicitor's Department) is the largest in-house legal organisation in the United Kingdom's Government Legal Profession.
The department is headed by the Treasury Solicitor (formally, 'The Solicitor for the affairs of His Majesty's Treasury'). This office goes back several centuries. The office was enshrined in law by the Treasury Solicitor Act 1876 (39 & 40 Vict. c. 18), which established the Treasury Solicitor as a corporation sole (an office with perpetual succession). Employees of the department exercise legal powers which are vested in the corporation sole.