Republicans rigged the state. But democracy is back.