In exchange for parole, he agreed to undergo an experiment that gave him the power of photokinesis.
He agreed to undergo an experiment. This was in exchange for parole. This experiment gave him the power of photokinesis.