White House counsel Kathryn Ruemmler listens as President Barack Obama speaks at an installation ceremony for FBI Director James Comey at FBI Headquarters in Washington, October 28, 2013. CHARLES DHARAPAK / AP

A top lawyer for Goldman Sachs will leave the Wall Street bank, its chief executive said Thursday, February 12, after her close ties with convicted sex offender Jeffrey Epstein were revealed. The firm's general counsel Kathryn Ruemmler had courted intense scrutiny after the Department of Justice dumped emails in recent weeks that showed her extensive relationship with the disgraced financier.

Their interactions reportedly included trading advice on her career moves and questioning of his sex crimes, to messages from Ruemmler calling him "sweetie" and "Uncle Jeffrey."

Goldman Sachs' chief executive David Solomon said Thursday that he had accepted Ruemmler's resignation, saying in a statement that she "has been an extraordinary general counsel, and we are grateful for her contributions and sound advice on a wide range of consequential legal matters for the firm."

"I accepted her resignation, and I respect her decision."