FILE – In this March 12, 2020, file photo, Democratic presidential candidate former Vice President Joe Biden speaks in Wilmington, Del. Biden has won the Alaska Democrats’ party-run presidential primary, defeating Sen. Bernie Sanders on Saturday, April 11, days after Sanders suspended his campaign. (AP Photo/Matt Rourke, File)

CHEYENNE, Wyo. (AP) — Joe Biden has won Wyoming’s Democratic presidential caucus. State party officials announced the results Sunday, less than two weeks after Bernie Sanders dropped out and endorsed the former vice president.

Wyoming voting began when it was still a two-candidate race. The caucus had been postponed two weeks and scaled back to just mail-in ballots because of the coronavirus pandemic.

The party for the first time used ranked-choice voting to allocate the 14 delegates to the Democratic National Convention in August. Voters could choose and rank up to five candidates according to their preference.