The Galactic Republic is threatened by a Separatist movement organized by former Jedi Master Count Dooku. Senator Padm Amidala comes to Coruscant to vote on a motion to create an army to assist the Jedi against the threat. Narrowly avoiding an assassination attempt upon her arrival, she is placed under the protection of Jedi Knight Obi-Wan Kenobi and his apprentice Anakin Skywalker. The two Jedi thwart a second attempt on her life and subdue the assassin, Zam Wesell. She is killed by her client, a bounty hunter, before she reveals his identity. The Jedi Council instructs Obi-Wan to find the bounty hunter, while Anakin is tasked to protect Padm and escort her back to Naboo, where he expresses his romantic feelings for her.
Obi-Wan's investigation leads him to the mysterious ocean planet of Kamino, where he discovers an army of clones being produced for the Republic in a deceased Jedi's name, with bounty hunter Jango Fett serving as their genetic template. Obi-Wan deduces Jango to be the bounty hunter he is seeking, and after a brief battle, places a homing beacon on Jango's ship, the Slave I. Obi-Wan then follows Jango and his clone son, Boba, to the planet Geonosis. Meanwhile, Anakin is troubled by visions of his mother, Shmi, in pain and decides to head to Tatooine with Padm� to save her. Watto reveals that he sold Shmi to moisture farmer Cliegg Lars, who then freed and married her. Cliegg tells Anakin that she was abducted by Tusken Raiders weeks earlier and was likely dead. Anakin ventures out and discovers Shmi at the Tusken campsite, still alive, but she dies in his arms. Enraged, Anakin massacres the tribe. He later declares to Padm that he will find a way to prevent the deaths of those he loves.
On Geonosis, Obi-Wan discovers a Separatist gathering led by Count Dooku, who is developing a droid army with Trade Federation Viceroy Nute Gunray. Obi-Wan transmits his findings to the Jedi Council, but is subdued by Separatist droids. Senate Representative Jar Jar Binks proposes a vote to grant emergency powers to Chancellor Palpatine, where the successful outcome allows the clone army to be authorized. Anakin and Padm pursue to Geonosis to rescue Obi-Wan, but are captured by Jango.[5] Dooku sentences the trio to death, but they are saved by a battalion of clone troopers led by Yoda, Mace Windu, and other Jedi. Windu beheads Jango during the ensuing chaos. Obi-Wan and Anakin intercept Dooku, and the three engage in a lightsaber battle. Dooku injures Obi-Wan and severs Anakin's right arm, but Yoda intercepts and defends them. Dooku uses Force powers to distract Yoda and flees to Coruscant, where he delivers information for a super-weapon to his Sith master, Darth Sidious. As the Jedi acknowledge the beginning of the Clone Wars, Anakin is fitted with a robotic hand and secretly marries Padm on Naboo with C-3PO and R2-D2 as witnesses.