6. How did the race riots affect the election of 1866