It took a grassroots push to win the legislation that offers more pay and an opportunity for reduced prison sentences.