Highlights from Anthony Scaramucci's tenure as White House communications director:

July 21: Named communications director, reporting directly to President Trump. Press secretary Sean Spicer resigns. Scaramucci appears in the White House briefing room and calls Chief of Staff Reince Priebus a "good friend."

July 22: Deletes old tweets critical of Trump, saying his "views have evolved."

July 23: After press secretary Sarah Huckabee Sanders says Trump would accept a bill imposing sanctions on Russia, Scaramucci tells CNN that Trump hasn't decided yet. When asked about the discrepancy, he says, "My bad."

July 25: When asked how he planned to crack down on leaks to the media from the White House, says, "I'm going to fire everybody, that's how."

July 26: After learning that Politico has obtained his government financial disclosure form, he tweets that the "leak" of his disclosure form was a "felony" and that he would seek an FBI investigation. He tags the post with Priebus' Twitter handle. He deletes the tweet after Politico says the form is a public document obtained through normal channels.

July 27: In the morning, Scaramucci tells CNN of Priebus, "I don't know if this is reparable or not. That will be up to the president." In the afternoon, the New Yorker's Ryan Lizza reports that in a phone conversation the day before, Scaramucci said he was trying to push Priebus out and disparaged both Priebus and White House strategist Steve Bannon in profane terms. Later, Scaramucci tweets, "I sometimes use colorful language" and "I made a mistake in trusting in a reporter."

July 28: Trump says Priebus is out as chief of staff. John Kelly, secretary of homeland security, will be the new chief of staff.

July 31: Removed as communications director to give Kelly a "clean slate," a White House statement says.