A spokesman for President Donald Trump’s personal attorney acknowledged late Thursday that the lawyer, Marc Kasowitz, had sent “inappropriate” emails the previous evening to someone who had urged him to resign.

According to ProPublica, which published the emails on Thursday, Kasowitz sent profanity-laden messages to a retired public relations professional who said it was “in the long-term interest” of Kasowitz and his firm to step down from the president’s legal team.