Liberal Judge Rebecca Dallet, who positioned herself as a staunch opponent of President Trump Donald John TrumpBubba Wallace to be driver of Michael Jordan, Denny Hamlin NASCAR team Graham: GOP will confirm Trump's Supreme Court nominee before the election Southwest Airlines, unions call for six-month extension of government aid MORE, beat out her GOP-backed rival in Wisconsin's state Supreme Court race on Tuesday, in what is seen as another bellwether for the upcoming midterm elections.

The Associated Press called the race for Dallet, who ran against conservative Judge Michael Screnock, not long after 10 p.m.

The race for the state Supreme Court seat was technically nonpartisan. Nevertheless, it had the trappings of an intense partisan brawl, with liberal and conservative groups pouring money behind their respective candidates.

ADVERTISEMENT

Dallet's campaign drew the support of a number of liberal groups, including the National Democratic Redistricting Committee, a group led by former Attorney General Eric Holder Eric Himpton HolderThe Hill's Campaign Report: Trump's rally risk | Biden ramps up legal team | Biden hits Trump over climate policy Biden campaign forming 'special litigation' team ahead of possible voting battle Pompeo, Engel poised for battle in contempt proceedings MORE, which pumped $165,000 into digital ads for the race, The Washington Post reported.

Dallet's victory on Tuesday was the first for Democrats in an open Wisconsin Supreme Court race in more than two decades.

Following her win, Wisconsin Gov. Scott Walker (R) took to Twitter to warn of a coming "blue wave" in the midterm elections.

Tonight’s results show we are at risk of a #BlueWave in WI. The Far Left is driven by anger & hatred -- we must counter it with optimism & organization. Let’s share our positive story with voters & win in November. — Scott Walker (@ScottWalker) April 3, 2018

Her win will not tip the balance of the court. When she formally takes office, conservatives will still hold a 4-3 majority.

Still, the electoral victory is likely to be celebrated by Democrats as another example of voters across the country rejecting Trump and a signal that a Democratic wave could sweep the midterm elections later this year.

Martha Laning, the chairwoman of Wisconsin's Democratic Party, touted Dallet's win as a blow to Screnock and Walker, who appointed Screnock to the bench.

"Tonight is a huge loss for Gov. Scott Walker, more so even than Judge Michael Screnock, as Walker’s endorsement, philosophy and politics were on the ballot," Laning said in a statement.

Democrats are hoping to capitalize on Trump's low approval ratings and multiple controversies to retake a majority in Congress in November. The party needs to pick up 23 seats in the House to win the majority.

— Updated at 10:56 p.m.