Which party dominated North Carolina's state legislature?