Protecting the Ballot (How First-Wave Democracies Ended Electoral Corruption)