Did Yuan take control of the flag? Or was it the Divine Paragon or a combination of the two, and if it were the divine paragon, how will that reflection the sealing sects?? Interesting mini arc....
Personal theory. He is not corrupted neither is he a demon. He is someone that was bought over by the demons using resources and he is probably trying to kill everybody and the demons and leave with the resources that both sides have accumulated