How an election can be overturned