The Democratic National Committee attempted to conceal details of a fundraising arrangement with Hillary Clinton that channeled money out of state Democratic parties, according to the most recent batch of leaked emails roiling the national party.

Politico reports that during one three-month period while Democratic primaries were still going on, state parties got to keep less than one half of one percent of the $82 million raised through the arrangement.

Bernie Sanders, Clinton's principal Democratic rival, and his allies were concerned about the arrangement as they saw it as skewing the process in Clinton's favor, as well as hurting local Democratic parties.

"Bernie 2016 is particularly concerned that these extremely large-dollar individual contributions have been used by the Hillary Victory Fund to pay for more than $7.8 million in direct mail efforts and over $8.6 million in online advertising, both of which appear to benefit only [Hillary For America] by generating low dollar contributions that flow only to HFA, rather than to the DNC or any of the participating state party committees," a Sanders campaign letter from April reads.

The leaked emails show officials working to get their stories straight, and complaining that the Sanders campaign was putting the party in a tough position by complaining about this.

One official criticized Sanders for putting the DNC between "a real rock vs hard place, "because he was pushing "a fight in the media with the party bosses over big money fundraising."

The funding controversy is part of a larger scandal within the Democratic Party about the behavior of the DNC during the primary campaign. The Wikileaks-published emails forced DNC Chairwoman Debbie Wasserman Schultz to announce her imminent resignation as party head Sunday, on the eve of the Democratic National Convention.

Republican presidential nominee Donald Trump has pounced on the controversies, attacking the DNC and Clinton on ethical grounds, and attempting to court Sanders supporters.