Palpatine, also known as Darth Sidious, was the last Supreme Chancellor of the Galactic Republic and the first Emperor of the Galactic Empire. He was also the final Dark Lord of the Sith who followed the Rule of Two and was considered by many to be the most powerful Sith Lord who ever existed. Palpatine was able to establish his Empire by concocting a complex master plan, which involved starting the Clone Wars, a galaxy-wide conflict that cost billions of sentient lives. Palpatine himself headed both the Galactic Republic and, secretly, the Confederacy of Independent Systems, which allowed him to prolong the conflict in order to gain more executive powers from the Senate.
When his power as Chancellor had reached its peak, Palpatine abolished the Republic and replaced it with the first Galactic Empire with himself as leader. With the Imperialization of the galaxy, Palpatine effectively had total control over its people, and was able to create one of the most powerful military forces the galaxy had ever seen. For nineteen years, Palpatine's rule would go relatively unopposed, until disgruntled former Imperial senators founded the Alliance to Restore the Republic. The Galactic Civil War would last for many years, but in 4 ABY, he was killed by Anakin Skywalker, his former Sith apprentice, during the Battle of Endor. However, this did not mean the end of the Empire.
His spirit traveled to Byss, where he inhabited a clone body that he had prepared beforehand. Six years after his first death at Endor, he launched a massive offensive from the Deep Core—one that came close to destroying the New Republic. The victories, however, would not last long, as Palpatine's clones were sabotaged by the former Emperor's Royal Guard, Carnor Jax. Palpatine was killed one final time during his attempt to possess Anakin Solo's body on Onderon, when, after Han Solo shot him, Empatojayos Brand, a former Jedi Knight, bound his soul to Palpatine's, dragging Palpatine deep into the depths of the Force