>>22877882He was originally part of the Team E group affiliated with Devon Corp, that harnessed infinity energy.
He eventually became disillusioned with the way that Team E was using helpless pokemon to create infinity energy - like in New Mauville where the native pokemon were being leeched of energy (and evolving weirdly like Magneton).
Knowing he couldn't openly go against his Team E friends, he secretly hires a young up-and-coming kid to go into the power station and turn it off, releasing the pokemon from the effects of the generator.
DEEPEST LORE, it's all in the docs.