Complex sentence: The war ends three years later as one of "the least fought wars in Galactic History", as quoted in the Encyclopedia Galactica, and Mallow transforms the power and influence of the Foundation from chiefly religious to primarily economic, turning Terminus into a successful plutocracy.
Split into simpler sentences: The war ends three years later as one of "the least fought wars in Galactic History", as quoted in the Encyclopedia Galactica. In doing so, Mallow transfers the power and influence of the Foundation from being Religious to being Economic, turning it into a successful plutocracy.