Convicted felons must first complete any fees, restitution or fines they were ordered to pay as part of their sentence before they can vote, Florida’s Supreme Court ruled Thursday.

The court said in its 37-page decision that “all terms of sentence” related to a felon’s sentence includes not just their prison term, but all associated financial penalties as well.”

“We conclude that the phrase, when read and understood in context, plainly refers to obligations and includes all—not some—LFOs imposed in conjunction with an adjudication of guilt,” the top court wrote in the ruling, using an acronym that refers to

Read more: US: Florida court says felons must settle fines to vote