The Democratic-backed candidate for Wisconsin Supreme Court defeated a challenger endorsed by President Donald Trump and billionaire Elon Musk on Tuesday, cementing a liberal majority for at least three more years.

Susan Crawford, a Dane County judge who led legal fights to protect union power and abortion rights and to oppose voter ID, stood on stage surrounded by the court’s four current liberal justices and celebrated her win as a victory for democracy.

Musk and groups he backed had spent more than $21 million in an effort to defeat Crawford. Musk even traveled to Wisconsin two days before the election to personally hand over $1 million checks to two voters.

“Today Wisconsinites fended off an unprecedented attack on our democracy, our fair elections and our Supreme Court,” Crawford said in her victory speech. “And Wisconsin stood up and said loudly that justice does not have a price, our courts are not for sale.”

Crawford defeated Republican-backed Brad Schimel in a race that broke records for spending, was the highest-turnout Wisconsin Supreme Court election ever and became a proxy fight for the nation’s political battles.

“Growing up in Chippewa Falls, I never could have imagined that I would be taking on the richest man in the world for justice in Wisconsin,” Crawford said, referring to Musk. “And we won.”

Musk was silent on his X platform in the wake of Crawford’s victory, reposting a message about Vietnam and tariffs but nothing on the Supreme Court contest.

Trump, Musk and other Republicans lined up behind Schimel, a former state attorney general. Democrats including former President Barack Obama and billionaire megadonor George Soros backed Crawford.

The first major election in the country since November was seen as a litmus test of how voters feel about Trump’s first months back in office and the role played by Musk, whose Department of Government Efficiency has torn through federal agencies and laid off thousands of workers. Musk traveled to Wisconsin on Sunday to make a pitch for Schimel and personally hand out to $1 million checks to voters.

Turnout surpassed the previous record for a court race, set in 2023, and spending was on its way to pass $100 million, which would double the 2023 record.

Schimel told his supporters he had conceded to Crawford, leading to yells of anger. One woman began to chant, “Cheater, cheater!”

“No,” Schimel said. “You’ve got to accept the results.”

A state race with nationwide significance

The court can decide election-related laws and settle disputes over future election outcomes.

“Wisconsin’s a big state politically, and the Supreme Court has a lot to do with elections in Wisconsin,” Trump said Monday. “Winning Wisconsin’s a big deal, so therefore the Supreme Court choice … it’s a big race.”

Crawford embraced the backing of Planned Parenthood and other abortion rights advocates, running ads that highlighted Schimel’s opposition to the procedure. She also attacked Schimel for his ties to Musk and Republicans, referring to Musk as “Elon Schimel” during a debate.

Schimel’s campaign tried to portray Crawford as weak on crime and puppet of Democrats who, if elected, would push to redraw congressional district boundary lines to hurt Republicans and repeal a GOP-backed state law that took collective bargaining rights away from most public workers.

What’s on the court’s agenda?

Crawford’s win keeps the court under a 4-3 liberal majority, as it has been since 2023. A liberal justice is not up for election again until April 2028, ensuring liberals will either maintain or increase their hold on the court until then.

The court likely will be deciding cases on abortion, public-sector unions, voting rules and congressional district boundaries. Who controls the court also could factor into how it might rule on any future voting challenge in the perennial presidential battleground state, which raised the stakes of the race for national Republicans and Democrats.

Last year, the court declined to take up a Democratic-backed challenge to congressional lines, but Schimel and Musk have said that if Crawford won, the court would redraw congressional districts to make them more favorable to Democrats.

Record-breaking donations

The contest was the most expensive court race on record in the U.S., with spending nearing $99 million, according to a tally by the Brennan Center for Justice. That broke the previous record of $51 million record, for the state’s Supreme Court race in 2023.

Musk contributed $3 million to the campaign, while groups he funded poured in another $18 million. Musk also gave $1 million each to three voters who signed a petition he circulated against “activist” judges.

Soros donated $1 million to the state Democratic Party in support of Crawford, the New York Times reported.

State schools chief wins reelection

Wisconsin voted Tuesday for Jill Underly to remain as the state’s top education official during Trump’s second term, choosing the Democratic-backed incumbent over Republican-supported critic Brittany Keiser.

Underly will guide policies affecting K-12 schools as Trump moves to eliminate the U.S. Department of Education. Her second term comes at a time when test scores are still recovering from the pandemic, Wisconsin’s achievement gap between white and Black students remains the worst in the country and more schools are asking voters to raise property taxes to pay for operations.

Voter ID law enshrined in state constitution

Wisconsin’s photo ID requirement for voting will be elevated from state law to constitutional amendment under a proposal approved by voters.

The Republican-controlled Legislature placed the measure on the ballot and pitched it as a way to bolster election security and protect the law from being overturned in court.

Trump trumpeted the measure’s approval on his social media platform, Truth Social, calling it “maybe the biggest win of the night.”

“It should allow us to win Wisconsin, like I just did in the presidential election, for many years to come!” he said.

Democratic opponents argued that photo ID requirements are often enforced unfairly, making voting more difficult for people of color, disabled people and poor people.

Wisconsin voters won’t notice any changes when they go to the polls. They will still have to present a valid photo ID just as they have under the state law, which was passed in 2011 and went into effect permanently in 2016 after a series of unsuccessful lawsuits.