the main candidates for each party were elected for the october presidential election