Goldman Sachs' top lawyer, Kathryn Ruemmler, has announced she will step down from her role after months of pressure over her friendship with the late sex offender Jeffrey Epstein.

Emails disclosed by the US justice department show she referred to the disgraced financier in emails as Uncle Jeffrey, advised him on how to push back against media and accepted luxury gifts from him.

My responsibility is to put Goldman Sachs' interests first, Ruemmler, who previously served as White House counsel to former US President Barack Obama, said in a statement.

Goldman CEO David Solomon thanked her for sound advice. Her resignation will take effect from 30 June.

Throughout her tenure, Kathy has been an extraordinary general counsel, and we are grateful for her contributions, Solomon said. Kathy has also been a mentor and friend to many of our people, and she will be missed. I accepted her resignation, and I respect her decision.

There is no suggestion that appearing in the millions of documents related to Epstein that have been released in the US implies any criminal wrongdoing.

But the drip of revelations became a public relations headache for the Wall Street bank, where Ruemmler led its reputational risk committee. She joined Goldman in 2020.

Ruemmler said in a statement to news agency Reuters earlier this month: I got to know him [Epstein] as a lawyer and that was the foundation of my relationship with him. I had no knowledge of any ongoing criminal conduct on his part, and I did not know him as the monster he has been revealed to be.

Emails show she had a large number of communications with Epstein between 2014 and 2019, when she was in private practice after leaving the White House.

Epstein was convicted in Florida in 2008 for soliciting prostitution from a child and died while in custody facing sex trafficking charges in 2019.

In one December 2015 email exchange, Ruemmler wrote: I adore him [Epstein]. It's like having another older brother! This message followed Epstein offering to buy her a first-class ticket to Europe.

Her exit from Goldman follows the release of handwritten notes from a law enforcement official who participated in Epstein's sex trafficking arrest in July 2019. These notes suggest that, on the night he was taken into custody, Epstein called Ruemmler.

Ruemmler has maintained she never represented Epstein as a legal client and has stated that communications from March 2019 show her advising him on how to push back against media scrutiny regarding his previous conviction.

Far from [receiving] a sweetheart deal, Mr. Epstein was subjected to a lengthy, aggressive, [and] highly unusual federal investigation for what were, in essence, local [offences] of sexual solicitation, Ruemmler wrote, suggesting that Epstein was being persecuted due to his wealth.

The emails also reveal that Epstein lavished gifts on Ruemmler, including a Hermès bag and $10,000 in gift cards, with the Goldman spokesman stating that Epstein often offered unsolicited gifts to his contacts.

Ruemmler’s resignation is the latest fallout from the ongoing Epstein disclosures, a trend mirrored in other recent corporate departures.