Ford Motor Company apologized to its employees on Thursday for sexual harassment at two Chicago plants, addressing accusations that span more than a quarter-century.

Jim Hackett, Ford’s president and chief executive, released an open letter, saying in part: “I am sorry for any instance where a colleague was subjected to harassment or discriminatory conduct. On behalf of myself and the employees of Ford Motor Company, who condemn such behavior and regret any harassment as much as I do, I apologize. More importantly, I promise that we will learn from this and we will do better.”