WASHINGTON — Anthony Scaramucci returned to the national spotlight Sunday and defended the circumstances behind his ouster last month after only 10 days as White House communications director, while suggesting that West Wing rival Steve Bannon may also be on his way out.

“I think that there are elements inside of Washington, also inclusive in the White House, that are not necessarily abetting the president’s interests or his agenda,” Scaramucci told ABC News’ “This Week” in his first interview since his July 31 dismissal.

“He has to move away from that sort of Bannon-bart nonsense,” the Manhasset financier added. “I think the president knows what he’s going to do with Steve Bannon.”

Scaramucci said he spoke this week with President Donald Trump, but would not elaborate.

He also compared himself to “Pulp Fiction” character The Wolf, a fixer who cleans up messes.

Before his ouster, Scaramucci had lambasted Bannon — a senior White House adviser on leave from his position as an executive of the alt-right Breitbart News — in a profanity-laden interview with a New Yorker reporter.

advertisement | advertise on newsday

The White House did not respond to requests for comment on Scaramucci’s suggestion about Bannon.

Scaramucci was fired soon after The New Yorker interview. New chief of staff John Kelly, who took over July 31, dismissed him.

Scaramucci had boasted that he reported directly to the president and not to former chief of staff Reince Priebus.

When Kelly was sworn in, White House officials made it clear that all staff would report to Kelly.

“The odds were stacked against me in that job,” Scaramucci told “This Week” host George Stephanopoulos, adding that Trump wanted him in the post but “probably 200” others did not.

“I made an unforced error that made it easy to dismiss me,” he said of the New Yorker interview.

Scaramucci said the president can’t be told what to do, but said those around him should “give him direct advice” and “be blunt with him.”

Scaramucci is scheduled to appear Monday night on CBS’ “The Late Show with Stephen Colbert.”