Donald Trump’s new communications director Anthony Scaramucci has not always been an enthusiastic supporter of the President, having previously expressed support for Barack Obama and Hillary Clinton.

The combative Wall Street financier has had a few choice words to say about his new boss on Twitter in the past.

But within hours of his appointment some of his most critical posts, questioning Mr Trump's decisions had been deleted.

In December 2011, Mr Scaramucci referred to the “Trump spectacle” when he tweeted in support of Mitt Romney, who was fighting for the Republican presidential nomination.

“@Mitt Romney: Praise for the Governor’s decision to stay out of the Trump spectacle," said Mr Scaramucci.

In February 2012, Mr Scaramucci, a Wall Street millionaire who gave money to the campaigns of both his former Harvard classmate Barack Obama and Bill Clinton, both Demoecrats, also tweeted a comment about Mr Trump’s decision to endorse Newt Gingrich for President

“Odd guy," he wrote. "So smart with no judgement.”

The deleted tweets were first noticed by the freelance journalist Josh Billinson, who found himself briefly blocked by Mr Scaramucci.

Mr Billinson told the Daily Beast: “I’m shocked he hadn’t deleted them earlier. That he could’ve been in the running for communications director and not even thought to check what he had publicly said about Trump in the past is wild to me.”

If Mr Trump decides to push ahead with his promised and highly controversial wall between the US and Mexico, Mr Scaramucci will find himself having to defend a policy he has publicly objected to.

In December 2015, he tweeted: “Walls don’t work. Never have, never will. The Berlin Wall 1961-1989 don’t fall for it.”

The words were posted alongside a picture of the German symbol of the iron curtain.

He also went as far as to say he hoped Hillary Clinton became the next President, saying: “I hope she runs, she is incredibly competent,” he said back in 2012 in reference to the 2016 contest. He added that she was “the real deal.”

On another occasion he also tweeted: “I like Hillary. Have to go with the best athlete. We need to turn this around,” again in reference to the possibility of her seeking the Democratic nomination in 2016.

He had changed his tune by 2015, however, when he said of Ms Clinton: “Hillary will be out of race before Thanksgiving [the] democratic nominee will be a governor.”

However, he had not converted to being a Trump fan at this stage, calling him “a hack politician” with rhetoric that is “anti-American and very, very divisive.”

He also tweeted a quote from David Cameron where the former Prime Minister criticised Mr Trump for “making a fundamental mistake of trying to blame all of Islam and all Muslims for what is the ideology and the actions of a minority.”

Mr Scaramucci converted from being a Democrat to being a Republican by 2012, when he served as a served as the finance co-chair for Mr Romney’s unsuccessful campaign against Mr Obama.

But he endorsed first Scott Walker and then Jeb Bush for the Republican nomination before finally getting on board with the Trump team, joining his campaign’s finance committee in May 2016.