The House of Lords Act 1999 removed the automatic right of hereditary peers to sit in the House of Lords, but the Act provided that the Lord Great Chamberlain and Earl Marshal be exempt from such a rule, so that they may continue to carry out their ceremonial functions in the House of Lords. With the Constitutional Reform Act 2005, the Lord High Chancellor has been replaced in some roles by Lord Chief Justice of England and Wales as head of the judiciary and Lord Speaker as chair of the House of Lords.