In a sweeping decision released Friday, the North Carolina Supreme Court ruled that over 100 death row inmates have the opportunity to prove racism affected their sentences because they had filed a claim under the state’s Racial Justice Act (RJA) before it was repealed in 2013. If the defendants win their hearings, they’ll be re-sentenced to life without parole.

The ruling comes after years of legislative and legal proceedings over the RJA.