New White House Communications Director Anthony Scaramucci addresses the daily briefing at the White House in Washington, U.S., July 21, 2017. REUTERS/Jonathan Ernst

WASHINGTON (Reuters) - The White House said on Monday that Anthony Scaramucci, named by President Donald Trump as communications director only 10 days ago, was leaving the post.

The change comes days after Scaramucci delivered a profanity-laced tirade against other top Trump aides - and hours after Trump swore in John Kelly, a new chief of staff, to bring discipline to his West Wing.

“Mr. Scaramucci felt it was best to give Chief of Staff John Kelly a clean slate and the ability to build his own team,” the White House said in a statement.