(CNN) The American Civil Liberties Union and other groups filed suit in Florida on Friday after the governor signed into law a measure that requires some released felons to pay certain outstanding financial obligations before their voting rights are restored.

The lawsuit was filed in the Northern District of Florida on behalf of 10 people who lost their right to vote through felony convictions. It names 11 elections officials as defendants.

Critics have said that having to pay fines, fees or restitution amounts to a poll tax. Florida Gov. Ron DeSantis , a Republican, has said the "idea that paying restitution to someone is equivalent to a tax is totally wrong."

"The only reason you're paying restitution is because you were convicted of a felony," DeSantis said in May

The lawsuit says the new law, which sets conditions on an amendment passed by voters last year, will have a disenfranchising effect and creates two classes of citizens: those who have the money and those who don't.

Read More