North Carolina elected a State Supreme Court Justice on November 7. The Republican-majority legislature had earlier restored partisan nominations for judicial races, but in 2017 that legislature passed a bill saying that for 2018 only, there would be no party primaries, and candidates for judicial office would simply file for the November election. Their party label in November would match the party in which they were registered.
Two Republicans and one Democrat filed for the 2018 race. When the legislature observed that, it quickly passed a bill saying that a judicial candidate who had not been a member of a particular party for at least three months before filing could not have any party label on the ballot. But Christopher Anglin, one of the two Republicans, who was injured by that law, sued in state court and won. So, he did have “Republican” next to his name.
The results: the Democrat, Anita Earle, won the election with 49.45% of the vote. Republican Anglin got 16.40%, and the other Republican, Barbara Jackson, got 34.15%. So Democrats won the seat even though more votes were cast for Republicans.