The prequel trilogy follows the upbringing of Anakin Skywalker, who is discovered by the Jedi Knight Qui-Gon Jinn. He is believed to be the "Chosen One" foretold by Jedi prophecy to bring balance to the Force. The Jedi Council, led by Yoda, sense that his future is clouded with fear, but reluctantly allow Qui-Gon's apprentice Obi-Wan Kenobi to train Anakin after Qui-Gon is killed by the Sith Lord Darth Maul. At the same time, the planet Naboo is under attack, and its ruler, Queen Padmé Amidala, seeks the assistance of the Jedi to repel the attack.
The Sith Lord Darth Sidious secretly planned the attack to give his alias, Senator Palpatine, a pretense to overthrow the Supreme Chancellor of the Galactic Republic. The remainder of the prequel trilogy chronicles Anakin's fall to the dark side, as Sidious attempts to create an army to defeat the Jedi and lure Anakin to be his apprentice. Anakin and Padmé fall in love and eventually she becomes pregnant.
Anakin soon succumbs to his anger, becoming the Sith Lord Darth Vader. While Sidious re-organizes the Republic into the Galactic Empire, Vader participates in the extermination of the Jedi Order, culminating in a lightsaber battle between him and Obi-Wan. After defeating his former apprentice, Obi-Wan leaves Vader for dead - but Sidious arrives shortly after to save him and put him into a suit of black armor that keeps him alive. At the same time, Padmé dies while giving birth to twins. The twins are hidden from Vader and not told of their true parents.