Rebecca Dallet, a Milwaukee County Circuit judge favored by liberals, was elected on Tuesday to the Wisconsin Supreme Court, The Associated Press reported, reducing the hold of conservative justices over the state’s highest court.

Judge Dallet’s defeat of Michael Screnock, a Sauk County Circuit judge who had the backing of conservatives, was immediately being held up as a sign of Democratic enthusiasm ahead of the November elections, in a state that narrowly chose President Trump in 2016.

The election was officially nonpartisan, and it involved candidates who were little known in Wisconsin until a few weeks ago. It was held during an off season for voting, on a day when snow and freezing rain were predicted in parts of the state.

Still, the realities of this race fell firmly along partisan lines, as have many Wisconsin Supreme Court races in recent years. And it came at a moment when seemingly every contest across the country is being examined through the lens of the approaching midterm elections. A series of recent races in states like Pennsylvania, Alabama and Virginia has shown Democratic strength.