A federal appeals court has upheld the dismissal of a case filed by conservative group the American Civil Rights Union, which had demanded that the Philadelphia City Commissioners remove the names of inmates from the city’s voter registration rolls.

The U.S. Court of Appeals for the Third Circuit ruled on Monday that Pennsylvania law does not require municipalities to remove the names of incarcerated registrants from the roll. While their right to vote is suspended in prison, ex-convicts can vote again as soon as they’re released under Pennsylvania’s Voter Registration Act.