Twitter has hidden a tweet by President Donald Trump from his profile, saying it violates rules about glorifying violence.
It did the same hours later when the official White House account tweeted a copy of the president's words.
Instead of being deleted, both tweets can be viewed by clicking on a prominent warning.
It says that "Twitter has determined that it may be in the public's interest for the Tweet to remain accessible."
This is the latest twist in an escalating row between Twitter and the White House.
Trump was tweeting about the US city of Minneapolis, which has seen consecutive nights of protests following the death of a black man in police custody.
The president said he would "send in the National Guard", and followed that up with a warning that "when the looting starts, the shooting starts."
That second tweet was hidden by Twitter for "glorifying violence".
Twitter's policy of adding a warning to, rather than deleting, tweets that break its rules when it comes to major public figures was announced in mid-2019. But the social network has never used it on Trump - nor deleted any of his tweets before.
"This is the bravest and riskiest thing I've ever seen Twitter - or any social media giant - do," said Carl Miller, from the Centre for the Analysis of Social Media at UK-based think-tank Demos.
"This pours rocket fuel over the online-harm-versus-free-speech debate. Online content policy doesn't get more incendiary than this."
The same post remains unaltered on Facebook, without any warning attached.
The move means that other users will not be able to like, reply to, or simply retweet Trump's post, Twitter said. However, they would still be able to retweet it with a comment attached.
In a Twitter thread, the social network said: "This tweet violates our policies regarding the glorification of violence based on the historical context of the last line, its connection to violence, and the risk it could inspire similar actions today."
The "historical context" is a reference to the phrase "when the looting starts, the shooting starts", coined by Miami Police Chief Walter Headley in 1967, in reference to his aggressive policing policies in black neighbourhoods.
A later report submitted to the National Commission on the Causes and Prevention of Violence found that his "get tough" policy, involving "the frequent display of shotguns and dogs by Miami police in black neighbourhoods" contributed to a state of agitation in the black community until the eruption of the 1968 Miami riot some eight months later.
Twitter said: "We've taken action in the interest of preventing others from being inspired to commit violent acts, but have kept the tweet on Twitter because it is important that the public still be able to see the tweet given its relevance to ongoing matters of public importance."
Hours after the warning was added, President Trump tweeted: "Twitter is doing nothing about all of the lies & propaganda being put out by China or the Radical Left Democrat Party" and alleged that the social network was targeting Republicans.
He directly referenced the executive order he signed the previous evening, aimed at removing some of the legal protections given to social media platforms.
Earlier this week, Twitter used its fact-checking function to attach warnings to the president's tweets for the first time. That led the president to threaten to "shut down" social networks over allegedly stifling free speech.
The executive order signed by Trump has no immediate effect on the social networks, however - instead, it begins a lengthy process that may result in changes down the line.
- BBC