SACRAMENTO, Calif. (AP) – Gov. Jerry Brown has agreed to restore the voting rights of convicted felons serving time in county jails.

The bill that Brown announced signing Wednesday also reinstates the voting eligibility of felons on probation or under community supervision beginning next year. It does not affect those in state or federal prisons.

READ MORE: Man Killed In Sacramento Freeway Shooting Was Retired Correctional Officer Lufino Reyes Mejorado

AB2466 stems from California’s criminal justice realignment, which led to some people convicted of low-level felonies serving time in county jails.

READ MORE: Experts Discuss Omicron COVID-19 Variant Findings In Sacramento Wastewater

Republican lawmakers say felons should not be allowed to cast ballots while serving a sentence, with Sen. Patricia Bates of Laguna Niguel saying it compromises the integrity of elections.

Democratic Assemblywoman Shirley Weber of San Diego says opponents don’t want to allow certain people to vote. She says civic participation can be a critical part of reducing recidivism.

MORE NEWS: Renowned Roseville Taqueria Nixtaco Hit by Crook Caught On Surveillance Camera

Copyright 2016 The Associated Press.