A total of 22 states allow voters to directly determine who is a justice on a court of last resort. Eight have partisan elections while the rest place candidates on nonpartisan ballots.