Former Democratic National Committee Chairwoman Donna Brazile outed Hillary Clinton and her campaign on Thursday for hijacking the political organization's finances and operations during last year's election to ensure Bernie Sanders did not win the nomination, according to an op-ed she published Thursday.

The DNC, Hillary Victory Fund, and Hillary for America signed a secret joint agreement that said, "in exchange for raising money and investing in the DNC, Hillary would control the party’s finances, strategy, and all the money raised."

Update: DNC chair on Donna Brazile bombshell: 'Hey, we're moving forward'

"Her campaign had the right of refusal of who would be the party communications director, and it would make final decisions on all the other staff. The DNC also was required to consult with the campaign about all other staffing, budgeting, data, analytics, and mailing," Brazile wrote in her op-ed.

"I had tried to search out any other evidence of internal corruption that would show that the DNC was rigging the system to throw the primary to Hillary, but I could not find any in party affairs or among the staff. I had gone department by department, investigating individual conduct for evidence of skewed decisions, and I was happy to see that I had found none. Then I found this agreement," Brazile added.

Related: Any way you cut it, the Clinton campaign lied about the Trump dossier

The Clinton-DNC coalition allowed individual donors who had maxed out their $2,700 contribution limit to the campaign to write another check of $353,400 to Clinton's PAC. In return, $10,000 of that money would be given to the 32 state parties that were part of the agreement.

The states then funneled $33,400 to the DNC and the other $320,000 to each of the states.

Earlier: Clinton blasts DNC for giving her 'nothing' during 2016 campaign

"The funding arrangement with HFA and the victory fund agreement was not illegal, but it sure looked unethical. If the fight had been fair, one campaign would not have control of the party before the voters had decided which one they wanted to lead. This was not a criminal act, but as I saw it, it compromised the party’s integrity," she stated.

Brazile confirmed the funneling had been going on since before Clinton won the nomination in June 2016.

"I had been wondering why it was that I couldn’t write a press release without passing it by Brooklyn. Well, here was the answer," Brazile wrote, referring to Clinton's headquarters in the New York borough.

Commentary: The DNC is comically bad at its job