Emperor Palpatine's death should have meant the end of the Sith in Star Wars, but thanks to Yoda's most famous trick, it was just the beginning.
While The Acolyte did in fact have a “last minute” big cameo in the form of Master Yoda, before that ... to is meant to be Palpatine, Darth Sidious. But before Sidious, the idea appears ...
When Anakin has future visions of pain and suffering coming Padmé's way, he sees Master Yoda for counsel. When Darth Sidious executes Order 66, it destroys most of all the Jedi have built.