Donald Trump has met with Twitter CEO Jack Dorsey in the Oval Office just hours after launching an attack on the social media platform that helped propel him into the White House.

Mr Trump claimed earlier in the day — via Twitter — that the social media platform does not treat him well because he is a Republican, and implied that his follower count is artificially depressed by the company. He provided no evidence of this bias.

“Great meeting this afternoon at the [White House] with [Mr Dorsey] from [Twitter],” Mr Trump tweeted after the meting with the CEO, in a markedly more upbeat tone than his morning tweets. “Lots of subjects discussed regarding their platform, and the world of social media in general. Look forward to keeping an open dialogue!”

The meeting and Mr Trump’s morning rant came as news broke that Twitter had deactivated roughly 5,000 pro-Trump bots on the platform that pushed out disinformation last week alongside the release of special counsel Robert Mueller’s report on Russia’s influence in the 2016 election.

That report, which focused heavily on Mr Trump and his attempts to stop the investigation, was branded as “Russiagate Hoax” by those bots, and Twitter indicated that they violated the platform’s terms of service.

Inside Mar-a-Lago - Trump's holiday home Show all 20 1 /20 Inside Mar-a-Lago - Trump's holiday home Inside Mar-a-Lago - Trump's holiday home Donald Trump sits in the living room at Mar-a-Lago in 1993. The following pictures show the interior of the Mar-a-Lago estate. Many of them are from before Trump bought the property in 1985 but, as the newer pictures show, he hasn't done much with the place Rex Inside Mar-a-Lago - Trump's holiday home The dining room at Mar-a-Lago under Trump. The following pictures show the interior of the Mar-a-Lago estate. Many of them are from before Trump bought the property in 1985 but, as the newer pictures show, he hasn't done much with the place Rex Inside Mar-a-Lago - Trump's holiday home The dining room at Mar-a-Lago in 1967. The following pictures show the interior of the Mar-a-Lago estate. Many of them are from before Trump bought the property in 1985 but, as the newer pictures show, he hasn't done much with the place US National Park Service Inside Mar-a-Lago - Trump's holiday home The dining room at Mar-a-Lago under Trump in 2015 The Washington Post/Getty Inside Mar-a-Lago - Trump's holiday home Function room at Mar-a-Lago in 1967 US National Park Service Inside Mar-a-Lago - Trump's holiday home Donald Trump sits in the living room at Mar-a-Lago in 1993. Rex Inside Mar-a-Lago - Trump's holiday home The living room in Mar-a-Lago in 1967 US National Park Service Inside Mar-a-Lago - Trump's holiday home Master bedroom at Mar-a-Lago in 1967 US National Park Service Inside Mar-a-Lago - Trump's holiday home Library at Mar-a-Lago in 1967 US National Park Service Inside Mar-a-Lago - Trump's holiday home Cloister at Mar-a-Lago in 1967 US National Park Service Inside Mar-a-Lago - Trump's holiday home Entrance hall at Mar-a-Lago in 1967 US National Park Service Inside Mar-a-Lago - Trump's holiday home Spiral staircase at Mar-a-Lago in 1967 US National Park Service Inside Mar-a-Lago - Trump's holiday home The dining room at Mar-a-Lago in 1967 US National Park Service Inside Mar-a-Lago - Trump's holiday home Patio at Mar-a-Lago in 1928 US National Park Service Inside Mar-a-Lago - Trump's holiday home Cloister at Mar-a-Lago in 1967 US National Park Service Inside Mar-a-Lago - Trump's holiday home Mar-a-Lago in 2018 Getty Inside Mar-a-Lago - Trump's holiday home Mar-a-Lago in 2018 Getty Inside Mar-a-Lago - Trump's holiday home Mar-a-Lago in 2018 Getty Inside Mar-a-Lago - Trump's holiday home Mar-a-Lago in 2018 Getty Inside Mar-a-Lago - Trump's holiday home Mar-a-Lago in 2018 AFP/Getty

“We suspended a network of accounts and others associated with it for engaging in platform manipulation—a violation of the Twitter Rules,” a spokesperson for the company told Ars Technica.

Prior to meeting with the president, Mr Dorsey sent letter to his employees explaining his reasons for meeting with Mr Trump.

“Some of you will be very supportive of our meeting the president, and some of you might feel we shouldn’t take this meeting at all,” Mr Dorsey wrote to staff, according to Wired. “I believe it’s important to meet heads of state in order to listen, share our principles and our ideas.”

Support free-thinking journalism and attend Independent events

In Mr Trump’s morning rant against the company, he said of Twitter: They “don’t treat me well as a Republican. Very discriminatory, hard for people to sign on. Constantly taking people off list. Big complaints from many people.”