Bitter battle over attorney general