How Politicians Rig Elections