The Attorney General for England and Wales, a member of the UK Government, is similarly the chief law officer of the Crown in England and Wales and advises and represents the Crown and government departments in court.