WASHINGTON (Reuters) - U.S. President Donald Trump on Friday offered good wishes to Britain's former ambassador to Washington, Kim Darroch, who resigned this week after stinging criticism from the Republican president following leaked diplomatic cables.

Memos from Darroch describing the Trump administration as inept were leaked to a British newspaper, infuriating Trump, who launched a Twitter attack on Tuesday on both the envoy and outgoing Prime Minister Theresa May, who had given Darroch her full support. Darroch resigned on Wednesday.

"I wish the British ambassador well," Trump told reporters on Friday as he left the White House to head to Wisconsin. "But they've got to stop their leaking problems there, just like they have to stop them in our country."

In his Twitter storm on Tuesday, Trump described the ambassador as "wacky," "a very stupid guy" and a "pompous fool."

RELATED: Boris Johnson

9 PHOTOS Boris Johnson See Gallery Boris Johnson British Conservative party leadership contender Boris Johnson gets in a car as he leaves home in south London, Tuesday, June 18, 2019. Contenders for leadership in Britain's ruling Conservative Party to become the next Prime Minister, jostled for attention Monday as the race narrowed into a contest to seize the mantle of challenger to front-runner Boris Johnson. (AP Photo/Matt Dunham) British Conservative party leadership contender Boris Johnson leaves home in south London, Tuesday, June 18, 2019. Contenders for leadership in Britain's ruling Conservative Party to become the next Prime Minister, jostled for attention Monday as the race narrowed into a contest to seize the mantle of challenger to front-runner Boris Johnson. (AP Photo/Matt Dunham) Alexander Boris de Pfeffel Johnson is an American-born British journalist and former mayor of London. Britain's Conservative party leadership candidate Boris Johnson talks during the first party hustings at the ICC in Birmingham, England, Saturday June 22, 2019. (AP Photo/Rui Vieira) British Conservative Party leadership and prime minister contender Boris Johnson leaves home in south London, Friday, June 21, 2019. Britain's next leader will be chosen by about 160,000 members of the governing Conservative Party in a runoff between two candidates: former Foreign Secretary Boris Johnson and current Foreign Secretary Jeremy Hunt. (AP Photo/Matt Dunham) British Conservative Party leadership and prime minister contender Boris Johnson gets in a car as he leaves home in south London, Friday, June 21, 2019. Britain's next leader will be chosen by about 160,000 members of the governing Conservative Party in a runoff between two candidates: former Foreign Secretary Boris Johnson and current Foreign Secretary Jeremy Hunt. (AP Photo/Matt Dunham) British Conservative party leadership contender Boris Johnson arrives for a live TV debate in central London Tuesday, June 18, 2019. Britain's Conservative Party is holding a contest to replace Prime Minister Theresa May, and party legislators will continue to hold elimination votes until the final two contenders will be put to a vote of Conservative Party members nationwide, with the winner due to become Conservative Party leader and prime minister. (AP Photo/Vudi Xhymshiti) British Conservative Party lawmaker Boris Johnson leaves his home in London, Thursday, June 13, 2019. Britain's Conservative Party is holding an election to replace Prime Minister Theresa May, who resigned last week after failing to lead Britain out of the European Union on schedule. Former Foreign Minister Boris Johnson is currently the bookies favorite to replace May. (AP Photo/Frank Augstein) Britain's Conservative Party lawmaker Boris Johnson gestures as he speaks during the official launch of his leadership campaign, in London, Wednesday June 12, 2019. Boris Johnson solidified his front-runner status in the race to become Britain's next prime minister on Tuesday, gaining backing from leading pro-Brexit lawmakers.(AP Photo/Frank Augstein) Up Next See Gallery Discover More Like This HIDE CAPTION SHOW CAPTION of SEE ALL BACK TO SLIDE

Trump did not directly address his change of tone on Friday, but said "some people just told me ... he actually said very good things about me."

He mentioned Republican Senator Lindsey Graham, who said in a tweet on Wednesday that Darroch "always understood the strength of President Trump and referred to him as the 'Terminator' who is indestructible and will most likely be reelected."

According to Britain's Mail on Sunday newspaper, which reported on Darroch's memos, the envoy wrote there was a "credible path" for Trump winning a second term. He said Trump may "emerge from the flames, battered but intact, like (Arnold) Schwarzenegger in the final scenes of The Terminator."

Britain's trade minister, Liam Fox, told reporters on Wednesday that the leaking of Darroch's confidential memos was an attempt to damage either the relationship between Britain and the United States or the envoy himself.

More from :

Boris Johnson says he finds it 'hard to disagree' with Trump's attack on May

Graham blames press for resignation of U.K. ambassador

Kim Darroch resigns: UK ambassador quits after row with Donald Trump