If you’re worried about what ‘Citizens United’ will do to congressional races, just wait until you see what it does to the justice system.

Illinois is home to the nation’s costliest judicial election ever: the 2004 contest between Lloyd Karmeier and Gordon Maag. The two candidates in Illinois's fifth judicial district together raised almost $9.4 million, nearly double the previous national record. It topped the money raised in 18 of 34 U.S. Senate races decided that year. Even Karmeier, the winner of the race, described the money poured into the campaign as “obscene.”

The eye-popping fundraising resulted from a parade of special interests on both sides of the “tort wars." The fifth district had been known for large damage awards against corporate interests, and the election’s winner was expected to play a crucial role on a closely divided Illinois supreme court. Trial lawyers funneled millions to Maag, while Karmeier got buckets of cash from the U.S. Chamber of Commerce. Karmeier also got a boost from a company with a very real interest in the race's outcome: State Farm Insurance Company, which happened to be appealing a damage award of more than $450 million. Karmeier got $350,000 in contributions from employees, lawyers, and others directly involved with State Farm and another $1 million from larger groups affiliated with the company. After he won the election, Karmeier cast the deciding vote that saved State Farm roughly a half-billion dollars.

The Illinois election wasn’t an anomaly. In the last decade, state judicial elections across the country have evolved from quiet, civil contests into extravagant affairs with exorbitant spending, mud-slinging, and bitter personal attacks. Special interests in particular have helped engineer many of these races, pouring money into campaign coffers and negative TV ads. For instance, in a 2006 race in Washington—the most expensive judicial election that state had ever seen—every TV spot was paid for by a special interest group. As an Ohio AFL-CIO official put it, “We figured out a long time ago that it’s easier to elect seven judges than to elect one hundred and thirty-two legislators.”

And now, the problem is likely to get a lot worse. Much has been made about how Citizens United v. Federal Election Commission (FEC), the recent Supreme Court decision that lifted the ban on corporate spending in elections, will allow special interests to dump money into presidential and congressional races as never before. But the decision was handed down, in the words of Justice John Paul Stevens, just “when concerns about the conduct of judicial elections have reached a fever pitch.” Indeed, thanks to Citizens United, the likely explosion of special-interest spending in this year's judicial races threatens to further erode the judiciary's independence.

This year, candidates in 18 states will face off to fill 34 supreme court seats. More than 30 other high court judges will sit for unopposed “retention” elections, in which voters will vote “yes or no” to keep them on the bench. And, because of Citizens United, many legal observers are expecting that these elections will be special-interest spending frenzies. Retired Supreme Court Justice Sandra Day O'Connor said at a conference at Georgetown University Law Center in January that “Citizens United has signaled that the problem of campaign contributions in judicial elections might get considerably worse and quite soon.”