New York Attorney General Letitia James says her office has reached a settlement with celebrity chef Mario Batali after a years-long investigation determined that he engaged in sex discrimination.

The investigation came after sexual harassment accusations against the chef gained widespread attention in 2017 during the #MeToo movement.