Bernie Sanders campaigned against a rigged system, but the Democratic National Committee brushed off those charges as a conspiracy. New leaked emails from the DNC, however, show that the party was working to discredit the Vermont senator throughout his campaign.

Wikileaks released almost 20,000 emails from the DNC showing that the party was working to embarrass the senator.

In one email, DNC staffer Brad Marshall told the party's CEO, Amy Dacey, that he believed Sanders was "an atheist" and wanted to have a plant question the Senator about his beliefs in order to use it against him in states like West Virginia and Kentucky.

"This could make several points difference with my peeps. My Southern Baptist peeps would draw a big difference between a Jew and an atheist," he wrote.

Another email from Mark Paustenbach, the Democratic Party’s national press secretary and deputy communications director, detailed how the party wanted to plant stories in the press that the campaign was in disarray and that Sanders had mismanaged it.

Paustenbach said, "Wondering if there's a good Bernie narrative for a story, which is that Bernie never ever had his act together, that his campaign was a mess."

The WikiLeak email breach is just one in a series of files from the Democratic Party showing that they were secretly doing everything they could to make sure Sanders's nomination failed.

Romanian hacker Guccifer 2.0 leaked an email in June that the DNC was discussing a general election strategy with Clinton's campaign the day Sanders launched his campaign.