Get breaking news alerts and special reports. The news and stories that matter, delivered weekday mornings.

Warning: this story contains offensive content.

A zealous band of Russian trolls flooded Twitter with hundreds of thousands of divisive posts in 2016 — accusing Democrats of satanic practices and supporting rape — in an attempt to influence the presidential election, according to a new analysis of a Twitter database by NBC News.

The effort tricked thousands of users into spreading graphic racial epithets across social media, interweaving provocative content with disinformation and falsehoods.

The tweets were uncovered in a database more than 202,000 deleted Russian troll tweets that NBC News compiled from three sources familiar with Twitter's application programming interface, or API, an online system that allows outside software developers to work with the data underlying users' tweets.

The set was created by cross-referencing the list of 2,752 confirmed Russian trolls released by the House Intelligence Committee in October against recorded tweets held by the sources. It resulted in a database of tweets from more than 450 of the accounts operated by Russia's Internet Research Agency "troll factory" sent from June 03, 2011 to August 26, 2017.

All of the sources asked for anonymity to avoid being identified as possibly violating Twitter's developer policy; two of the sources asked not to be identified because they didn't want to become targets of Russian trolls themselves.

While Twitter has removed the tweets from public view, NBC News was able to cross-reference many of the tweets between the datasets and online archives.

The resulting tweets represent a sampling of the total content produced by the trolls.

According to Michael McFaul, who was the U.S. ambassador to Russia from 2012 to 2014 in the Obama administration, the provocative tweets are evidence of the Kremlin's campaign to support Donald Trump, damage Hillary Clinton, and disrupt conversation during the 2016 presidential race.

The objective was to "sow doubt and discord in America," McFaul said. "That's part of a grander strategy of making everything relative. There is no truth. There is no democracy versus autocracy."

Russians, who literally invented the word "disinformation," or dezinformatsiya, to define the practice of spreading a deliberate lie in order to deceive, digitized their craft and injected it right into our election.

Satanic rituals

One of the memes boosted by the trolls tried to tie candidate Clinton to satanism and the occult.

Besides the well-known "#Pizzagate" hoax, the trolls stirred up rumors that Clinton and her campaign manager John Podesta attended a satanic ritual, a story that the fact-checking site Snopes has labeled "false."

The rumors began after WikiLeaks obtained and began publishing emails hacked from Podesta's personal Gmail account. In one of the emails, Podesta's brother asks if he will be attending a "Spirit Cooking" dinner party thrown by the performance artist Marina Abramović.

On Nov. 4, 2016, just days before the election, WikiLeaks directed followers to a blog post on a site that dug up videos from a 1996 surrealist "Spirit Cooking" installation by Abramović that included phrases such as “with a sharp knife cut deeply into the middle finger of your left hand eat the pain,” in pig's blood on the gallery wall.

Abramović later said that John Podesta didn't attend the dinner, which she held to thank her Kickstarter contributors, and that the event involved cooking traditional soups at her apartment.

The verbatim tweets sent by confirmed Russian trolls on the list released by the House Intelligence Committee showed an effort to amplify the satanic narrative.

"BREAKING : Clinton Foundation Paid Occult "Spirit Cooking" Priestess 10K For 'Operational Support,'" tweeted Russian troll @WorldnewsPoli on Nov. 5.

Byers Market Newsletter Get breaking news and insider analysis on the rapidly changing world of media and technology right to your inbox. This site is protected by recaptcha

"RT @_Makada_: WikiLeaks: Clinton Campaign Chair John Podesta Attended Satanic "Spirit Cooking" Ritual #SpiritCooking," tweeted Russian troll @_NickLuna_ one day before.

And troll @J0hnLarsen tweeted, "RT @KevinAnth: I liked a @YouTube video from @markdice https://t.co/jPvIB1pNTr Hillary Clinton "Spirit Cooking" Satanic Ritual."

Screencap of a November 4th, 2016 tweet from FOX News host Sean Hannity's account.

The story was boosted by Russian trolls and conservative websites, including the Drudge Report and Fox News host Sean Hannity's website and Twitter feed, spinning it into a tale of devil worship and a bizarre blood feast.

Popular right-wing news aggregation site Drudge Report ran an above-the-fold image to promote the unsubstantiated Clinton occult ritual story.

Within hours, #spiritcooking was trending on Twitter.

"We know well from cognitive science that once you've read something, especially if it's framed as news, it's difficult to discount as fake even if you've been told it's fake," Jeff Hancock, a communications professor at Stanford University and the founding director of the Stanford Social Media Lab, told NBC News.

And when individuals already agree with the premise of the falsehood — for instance, that Hillary Clinton isn't trustworthy — ignoring outright lies becomes even more difficult, he said.

"Our default is truth," Hancock said. "We have to work hard on disbelieving."

Rape

Another effort made by the trolls was to tie Democrats and liberals to support of rape. Over 460 of the tweets contained the word "rape" or a variation, like "rapefugees."

For instance, the prolific Russian troll account @TEN_GOP tweeted, "Just 2 days after #NiceAttack stupid liberals welcome #rapefugees! How stupid! #RNCinCLE," on July 17, 2016.

"RT @wiredterrier: @ThePatriot143 Women who vote Hillary are telling their daughters rape is ok and they will be slandered on top of it," tweeted Russian troll @EmileeWarren on Oct. 15, 2016.

At another point during the campaign, one troll account replied to another user's tweet about Donald Trump's relationship with his oldest daughter, Ivanka, twisting it to make it a lewd reference to one of President Barack Obama's daughters.

Racism

The Russian trolls also incorporated racist slurs, themes, and topics into their messages.

One line of attack again distorted an element from one of Podesta's stolen emails. Clinton had forwarded an Israeli op-ed article about a Muslim man left to die on the side of the road. The original author referred to how the authorities might have thought of the man as a "sand n-----." A cropped screen grab was taken out of context and reframed to say Clinton was referring to Muslims using the epithet, and then spun up through Twitter through the Russian troll accounts.

"RT @ObamaBash: Never #HillaryBecause While calling Trump a racist in a leaked email she referred to a Muslim man as a "SAND N-----," tweeted @hyddrox on Oct. 15, 2016, a few days after the second presidential debates.

Snopes reported that the claim circulating on social media that Clinton had used the derogatory term was "false."

Some of the accounts also weighed in heavily on racially charged topics, like the protests in Ferguson, Missouri, in the summer of 2014 after the death of an unarmed black teenager, Michael Brown, at the hands of a white police officer whom a grand jury later declined to indict on any charges.

"All of those protesters in Ferguson, your hand are covered with blood! #CopsWillBeCops #FergusonShooting," tweeted Russian troll @EvaGreen69 on March 15, 2015.

Another tweet by a Russian troll account @staywoke88 that pretended to be a Black Lives Matter protester took the most infamous white nationalist slogan and tweaked it to make it appear to be a pro-black statement.

A screengrab of a retweet posted by a Russian troll which references the notorious white nationalist slogan, "We must secure the existence of our people and a future for white children." The profile face has been blurred because former Russian trolls said they stolen online profile photos for their social media avatars.

Experts said the topics were deliberately chosen to exploit long-simmering differences in American culture.

"The point of a disinformation operation is not to create new rifts in society — it's to drive the rifts that are there further apart," said Graham Brookie, deputy director of the Digital Forensic Research Lab at the Atlantic Council, a Washington-based international relations think tank.

Election-year distortions

According to reports of leaked internal documents from the Internet Research Agency, trolls were given specific topics and talking points and assigned daily quotas.

By insinuating themselves into different niche online dialogues during the 2016 presidential race and pushing the conversational boundaries, the Russian trolls signaled to others in the conversation that it was acceptable to make more extreme statements.

"Even if they're not going to say 'Hillary Clinton is responsible for #PizzaGate,' it lowers the barrier of cost to say, 'Lock her up,'" Brookie said. "That's a very useful output for someone who wants to sow chaos in a democratic institution."

And even if readers rejected the outlandish statements, the trolls still grabbed their attention. For the Russian propagandists, that in itself was a win.

In the end, the troll strategy was an export of methods Russia has used for years domestically to get citizens to see themselves not as part of a nation but as members of smaller ethnic and identity-based groups, and play all sides against each other.

"They want us fighting among ourselves," said McFaul, the former ambassador. "Then we're distracted. We're not talking about Syria. We're not talking about American leadership. We're questioning whether democracy will survive. We're less of a player internationally — and that's good for Russia."