Champaign County went for Bernie. Illinois preferred Biden.

In a repeat of 2016, Bernie Sanders was the choice of Democratic primary voters in Champaign County (winning margin: 11,877 to 11,164) but lost handily statewide Tuesday.

Four years ago, it was to eventual nominee Hillary Clinton. This year, it was to the surging Joe Biden.

One big difference between then and now: voter turnout.

In Champaign County, where the coronavirus pandemic has hogged the headlines for a week, just 32,086 primary votes were cast — down from a record 59,003 in the same election four years earlier.

Other big winners Tuesday:

— Ramona Sullivan, who emerged from a field of four Democrats running for Champaign County resident judge, winning the closest call of the night — 9,152 to 8,995 over runner-up Ruth Wyman.

— The Democratic Champaign County Board challengers, who went a combined 4-for-4 against incumbents, with Emily Rodriguez routing Chairman Giraldo Rosales, 1,403-283, in District 8. Also cruising: DeShawn Williams (6), Jennifer Straub (9) and Mary King (10).

— Democrat Betsy Dirksen Londrigan, who’ll get a second crack at U.S. Rep. Rodney Davis’ 13th District seat, which she lost in a photo finish in 2018.

— Oakland Republican Mary Miller and Mattoon Democrat Erika Weaver, who’ll square off for John Shimkus’ 15th Congressional district seat.

— Republicans Sarah Perry, Piatt County’s next state’s attorney, and circuit clerk winners Nathan Burton (Douglas) and Kamalen Johnson Anderson (Ford).

— Susan McGrath, who’ll represent the Democrats in November’s Champaign County circuit clerk race.

— Opponents of a 1 percent sales tax hike in Vermilion County. The final count: 6,392 no’s, 5,555 yes votes.