Letitia James said her office was "sending a clear message to the entire industry."