Star Wars Episode III: Revenge of the Sith is a 2005 American space opera film written and directed by George Lucas. It is the third and final installment of the Star Wars prequel trilogy and stars Ewan McGregor, Natalie Portman, Hayden Christensen, Ian McDiarmid, Samuel L. Jackson, Christopher Lee, Anthony Daniels, Kenny Baker and Frank Oz. In Revenge of the Sith, set three years after the onset of the Clone Wars, the Jedi Knights are spread out across the galaxy leading a massive clone army in the war against the Separatists. The Jedi Council dispatches Jedi Master Obi-Wan Kenobi to eliminate the notorious General Grievous, leader of the Separatist Army. Meanwhile, Jedi Knight Anakin Skywalker, separated from his former master, grows close to Palpatine, the Chancellor of the Galactic Republic and, unknown to the public, a Sith Lord. Their deepening friendship threatens the Jedi Order, the Republic and Anakin himself, who eventually yields to the dark side of the Force and becomes Darth Vader.