In "Revenge of the Sith", the Jedi Temple is attacked by clone troopers of the 501st Legion, led by the newly christened Darth Vader, who butchered the Jedi within and set the Temple alight. After the fall of the Jedi Order and the Galactic Republic, the Temple became the Palace of the Emperor and a location for his dark side artifacts. It would serve as Sidious' residence for over two decades until his death at the Battle of Endor. The Temple is visible in the celebrations on Coruscant at the end of "Return of the Jedi". After the destruction of the Sith, Luke Skywalker—the last of the Jedi—recovered fragments of a Force-sensitive tree that was once located at the heart of the Jedi Temple.