New Attorney General and Solicitor General sworn in