AUGUSTA (NEWS CENTER Maine) -- With the primary elections taking place in less than two weeks, it's imperative voters have a deep understanding of how ranked-choice voting works.

Maine will be the first state to use ranked-choice voting in a statewide election June 12.

The Maine Department of the Secretary of State explains what to expect in an animation.

On Tuesday, a federal judge declined to let the Maine Republican Party be exempted from ranked-choice voting after it contended the imposition of RCV infringed upon its First Amendment rights. The judge concluded the GOP didn't prove its claim and the voting system imposes only a limited burden on the party.