President Trump sought to clarify what he meant in a tweet Thursday night about the unrest in Minneapolis after Twitter flagged it and claimed he was “glorifying violence.”

“Looting leads to shooting, and that’s why a man was shot and killed in Minneapolis on Wednesday night - or look at what just happened in Louisville with 7 people shot,” Trump tweeted Friday. “I don’t want this to happen, and that’s what the expression put out last night means. It was spoken as a fact, not as a statement.”

“It’s very simple, nobody should have any problem with this other than the haters, and those looking to cause trouble on social media. Honor the memory of George Floyd!” the president added.

Twitter took action against Trump for the second time this week when it censored the president’s original “when the looting starts, the shooting starts” tweet.

The Trump campaign accused Twitter, the media and Democrats of trying to divide Americans by "purposefully misrepresenting" Trump's words.

"The media, Joe Biden, and the Democrats pounced, purposefully misrepresenting what the President had said, and showing once again that they are incapable of resisting their base impulse of dividing Americans, solely for the purpose of political gain, ratings, and cable news profit," said Trump campaign manager Brad Parscale.

"A man has died, a police officer is charged with murder, an American city is in chaos, and Democrats and the media see only a political opportunity and a chance to make money," Parscale continued.

Trump announced Wednesday night that he had ordered the FBI and the Justice Department to investigate the killing of Minneapolis man George Floyd, calling it a “very sad and tragic death,” but the president also expressed outrage about the protests that followed.

TWITTER CENSORS TRUMP'S MINNEAPOLIS TWEET FOR 'GLORIFYING VIOLENCE'

“I can’t stand back & watch this happen to a great American City, Minneapolis,” Trump wrote on Twitter. “A total lack of leadership. Either the very weak Radical Left Mayor, Jacob Frey, get his act together and bring the City under control, or I will send in the National Guard & get the job done right.

A second tweet continued: “These THUGS are dishonoring the memory of George Floyd, and I won’t let this happen. Just spoke to Governor Tim Walz and told him that the Military is with him all the way. Any difficulty and we will assume control but, when the looting starts, the shooting starts. Thank you.”

A few hours after the president sent those tweets, Twitter added a disclaimer onto the second tweet, which hides the message until users click "view."

"This Tweet violated the Twitter Rules about glorifying violence. However, Twitter has determined that it may be in the public’s interest for the Tweet to remain accessible," the disclaimer reads.

POLICE CHIEFS ACROSS US CONDEMN OFFICERS INVOLVED IN GEORGE FLOYD DEATH 

Critics on Twitter said Trump's comments had racial undertones and said the term "when the looting starts, the shooting starts" can be traced back to Miami Police Chief Walter Headley in 1967 as a threat to black protesters during the civil rights movement. Twitter also pointed to the “historical context” of the remark as grounds for its classification as “glorifying violence.”

Floyd, 46, was pronounced dead Monday night after Minnesota Officer Derek Chauvin knelt on his neck after putting him in handcuffs, as Floyd pleaded that he could not breathe. Three other officers stood by, and all four of them have been fired from the force. Chauvin was taken into custody on Friday and charged with third-degree murder.

Three days of protests have taken place across the state, with one man shot dead on Wednesday, stores looted empty and a police precinct set on fire. Other cities across the nation have organized their own protests.

Meanwhile, demonstrations in Louisville, Ky., took place Thursday night to protest the death of Breonna Taylor, a black woman shot in her home in March. During the demonstrations, seven were shot, one critically, as between 500 and 600 protesters took to the streets to seek justice for Taylor.

CLICK HERE TO GET THE FOX NEWS APP

Trump fired back at Twitter on Friday: “Twitter is doing nothing about all of the lies & propaganda being put out by China or the Radical Left Democrat Party. They have targeted Republicans, Conservatives & the President of the United States. Section 230 should be revoked by Congress. Until then, it will be regulated!”

On Tuesday, Twitter had added a "get the facts" link to a tweet from the president about mail-in ballots.