The influential chief of staff to state Attorney General Letitia James has resigned amid allegations of sexual harassment, sources said Friday.

Sources tell NY1 individuals outside the attorney general’s office made sexual harassment allegations against Ibrahim Khan. Those allegations were made by more than one woman.

Khan has been a close aide to James for many years, since her days as New York City's public advocate.

The attorney general’s office hired an outside law firm and conducted an investigation.

In a statement, a spokesperson said “The Office of Attorney General has protocols in place to thoroughly investigate any allegation of misconduct. The office takes these matters with the utmost seriousness and this situation is no different. An independent, impartial investigation was conducted, and the employee has since resigned.”

When reached for comment, Khan confirmed he is no longer working for the state, issuing a statement that said, “After a successful four-year term, I’ve been slated to leave the office for the private sector at the end of this year. This is unrelated to an investigation which, nevertheless, found no official workplace misconduct. I’m proud of all we have achieved over these past four years in serving New Yorkers.”

James’s office led the sexual harassment investigation into former Gov. Andrew Cuomo in 2021 that ultimately lead to his resignation.