attorney general powers legal settlement