Palpatine used his power over the dark side to crush his foes, with Darth Vader's distant relative commanding a Force ability Palpatine always wanted.
But what’s abundantly clear to anyone with eyes was that there was never a coherent plan in place for the full trilogy, hence the famous “somehow, Palpatine returned,” line and overall ...