The Democrats scored several key victories in local elections, unseating Republican-backed incumbents in Illinois and Wisconsin.