Oil and gas companies are spending heavily to crush three Colorado ballot initiatives that would limit fracking. And some of the state’s most powerful Democrats are helping them.

The stakes are particularly high for several Colorado communities that have voted to limit or ban oil and gas development locally. Those limits were nullified in two cities by state Supreme Court decisions earlier this month. So the ballot initiatives may be their last best chance to slow development whose speed has surprised even cities that initially supported oil and gas projects.

“We feel it is a last ditch effort,” said Tricia Olson, director of Coloradans Resisting Extreme Energy Development, or CREED, which is pushing to get two of the measures on the ballot.

One measure would allow cities to pass rules to limit or even ban oil and gas development locally; the other would disallow companies from building oil and gas facilities closer than 2,500 feet from “occupied structures.” A third, supported by a separate group called Coloradans for Community Rights, would empower communities to make all kinds of decisions, including whether to frack. The groups are currently in the process of gathering the 98,000 signatures required to get on the ballot.

Campaign finance filings released this month indicate just how much oil and gas companies are willing to pony up to drill freely.

An industry-backed committee created just to defeat fracking ballot measures in Colorado, called Protecting Colorado’s Environment, Economy, and Energy Independence, collected more than $6.3 million in the first five months of this year.

Most of the pro-fracking group’s money came from two $2.5 million donations, one each from Anadarko Petroleum and Noble Energy. Smaller contributions came from a dozen or so other oil and gas companies and industry groups.

Karen Crummy, who is a spokesperson for the group, said the measures would wreck the economy and strip farmers and ranchers of mineral rights that help them get by in tough times.

By comparison, on the anti-fracking side, CREED’s issues committee raised only $56,000. The total for Coloradans for Community Rights barely surpassed $5,700. The biggest anti-fracking donor, to CREED, was Tricia Olson, a retiree.

The fight for community control took off four years ago in a town named Longmont, when the industry spent more than $500,000 attempting to stop local voters from enacting a citywide ban. But the pro-ballot campaigners, who raised less than $30,000, won.

There was similar voter approval in 2013 in Lafayette, Fort Collins, Broomfield, and the city of Boulder. (Boulder County commissioners had passed a moratorium on fracking in early 2012.)

Ever since, the industry has dedicated itself to defeating the rules in court, an effort that climaxed on May 2, with a pair of Supreme Court decisions against Longmont and Fort Collins.

Both Bernie Sanders and Hillary Clinton claim they support locally enacted fracking limits. Sanders wants to ban the technique altogether, while Clinton says she would not support fracking “when any locality or any state is against it.”

But top Democrats in Colorado have warmed to the frackers.

Consider the case of Ted Trimpa, a registered lobbyist for Noble Energy and Encana oil and gas, who sits on the advisory committee of Coloradans for Responsible Energy Development, another front group for Anadarko and Noble that is fighting the proposals.

If anyone knows the power of Colorado cash to swing local politics, it’s Trimpa. He was an architect of Colorado Democrats’ surprise take-back of state politics from Republicans in 2004. The scheme involved aiming the cash of four wealthy donors, known as the “Gang of Four,” at key races, and later evolved into an infrastructure for coordinated Democrat donations through a network of non-profits.

The “Colorado miracle” became a model for Democrats nationwide. Trimpa has since served as a board member of some of the national Democratic Party’s most important funding and policy appendages, including Democracy Alliance and ProgressNow, as well as the American Bridge 21st Century Foundation, which supports the Clinton campaign through a Super PAC of the same name.

He’s joined on the Coloradans for Responsible Energy Development advisory committee by Democratic superdelegate and former Gov. Roy Romer. And Trimpa’s old pal Tim Gill, one of the Gang of Four, is now chairman of another group, Colorado Concern, that has put money down to halt the initiatives.

Watch the video from the anti-fracking group Protect Colorado: