The lord chancellor, formally titled Lord High Chancellor of Great Britain, is a senior minister of the Crown within the Government of the United Kingdom. The lord chancellor is the minister of justice for England and Wales and the highest-ranking Great Officer of State in Scotland and England, nominally outranking the prime minister. The lord chancellor is appointed and dismissed by the sovereign on the advice of the prime minister. Prior to the union of England and Scotland into the Kingdom of Great Britain, there were separate lord chancellors for the Kingdom of England (including Wales) and the Kingdom of Scotland. Likewise, the Lordship of Ireland and its successor states (the Kingdom of Ireland and United Kingdom of Great Britain and Ireland) maintained the office of lord chancellor of Ireland until the establishment of the Irish Free State in 1922, whereupon the office was abolished.
The lord chancellor is a member of the Cabinet and is, by law, the minister of the Crown responsible for the efficient functioning and independence of the courts. The lord chancellor thus leads the Ministry of Justice and is the judiciary's voice within Cabinet. In 2005, there were a number of changes to the legal system and to the office of the lord chancellor. Previously, the lord chancellor was also the presiding officer of the House of Lords, the head of the judiciary of England and Wales and the presiding judge of the Chancery Division of the High Court of Justice. The Constitutional Reform Act 2005 transferred these roles to the lord speaker, the lord chief justice and the chancellor of the High Court respectively.