Eroding trust in elections is a threat to democracy