To keep opponents' voters from casting ballots, he said.