City of Miami Commissioner Michelle Spence-Jones plans to fight a ruling that says she cannot seek a third term.

A judge ruled Tuesday that a third consecutive term would violate the city charter, which only allows for two terms.

Former commissioner Richard Dunn sued Spence-Jones.

Spence-Jones said the same judge who issued the ruling presided in her corruption case, which removed her from office for 17 months soon after she was elected to her second term. The bribery charges against her were dropped and Spence-Jones returned to the commission while receiving back pay and attorney's fees from the city.

Spence-Jones claimed that time out of office allowed her to seek a third term since she didn't actually serve a full second term.