Former White House communications director Anthony Scaramucci on Sunday accused White House Chief of Staff John F. Kelly of having “hissy fits,” seizing on reports that Kelly and national security adviser John Bolton recently got into a shouting match over immigration.

Scaramucci, no stranger to profanity-laden conversations, worked as communications director for 11 days before Kelly fired him last year. He is promoting a book about his time in the White House and his relationship with President Trump.

In an interview with NBC’s Chuck Todd on “Meet the Press,” Scaramucci said that while he applauds the retired Marine Corps general’s service, “he hurt the morale inside the place, and he’s hurt the president, and he has hissy fits.”

“You know the good news is, I’m being vindicated by that because he’s demonstrating his personality now, the way he really is,” Scaramucci said of Kelly, referring to his reported spat with Bolton.

Scaramucci also voiced displeasure with the way Kelly dismissed him from his White House job.

“He didn’t need to fire me the way he fired me. . . . There was a better way to fire me, but he was trying to make a spectacle out of it, and so he got the spectacle that he wanted,” Scaramucci said.

Veteran journalist and Washington Post Associate Editor Bob Woodward in his book “Fear” reported that Kelly often vented to colleagues about Trump, calling the president “unhinged” and “an idiot.” Kelly has denied denigrating the president.

Scaramucci said Sunday that Trump “needs a chief of staff, but he needs a chief of staff that really likes him and gets his personality.”