Less than 24 hours after losing the Democratic primary for Buffalo mayor, Erie County Board of Elections commissioners are taking Garnell Whitfield off the November ballot.  

The former Buffalo fire commissioner lost Tuesday night’s primary by more than 10,000 votes to state Sen. Sean Ryan.

He was trying to run as an independent, but there were objections to his filing.

Spectrum News 1 has reached out to Whitfield, who says he’s currently processing this ruling.

If he doesn't appeal the decision, it would bring his mayoral campaign to an end.

The general election is on Nov. 4.