The candidate’s attorney argued he should be allowed to remain in the race, but an election committee unanimously disagreed.