The Florida Supreme Court on Thursday invalidated a state elections law that kept a Miami Gardens mayoral candidate off the ballot because of a banking error.

In a 6-1 decision, the court ordered the city to strike the results of the Aug. 30 election, which incumbent Mayor Oliver Gilbert won with more than two-thirds of the vote.