Count Dooku of Serenno, from the House of Dooku is a fictional character from the Star Wars franchise, appearing in Star Wars: Episode II - Attack of the Clones and Star Wars: Episode III - Revenge of the Sith, as a primary antagonist. He was portrayed by Christopher Lee and voiced by Corey Burton in the animated series Star Wars: The Clone Wars and Star Wars: Clone Wars.

Introduced in Star Wars: Episode II - Attack of the Clones, Count Dooku appears as the leader of the Confederacy of Independent Systems, a federation of planetary systems rebelling against the Galactic Republic. He says that the Republic is corrupt, and that its politicians are more interested in maintaining the bureaucracy and enriching themselves than in helping poor, oppressed systems.  Dooku recruits bounty hunter Jango Fett to assassinate Padme Amidala on Coruscant; the attempt on her life fails, however. When a fight with Obi-Wan Kenobi forces Fett to flee from Kamino to Geonosis, the bounty hunter rendezvous with his benefactor. After capturing Obi-Wan on Geonosis, Dooku tells him that he's attempting to save the Republic, explaining that thousands of senators are under the influence of a Sith Lord named Darth Sidious. When Obi-Wan refuses to join him, Dooku promptly sentences him to death.  After an army of Jedi and clone troopers rescue Obi-Wan, Anakin Skywalker and Padme, a battle breaks out between the Republic forces and Dooku's army. Dooku tries to flee, but Anakin and Obi-Wan engage him in a lightsaber duel. Dooku subdues Anakin with a blast of Force lightning, and wounds Obi-Wan with his lightsaber. When Anakin comes to Obi-Wan's defense, Dooku cuts off the young Padawan's arm. Just as Dooku is about to escape, Yoda confronts him and engages him in a lightsaber duel. Unable to match Yoda's speed and agility, Dooku distracts his former master by using the Force to dislodge a large pillar and send it hurtling toward Anakin and Obi-Wan. While Yoda is busy saving them, Dooku escapes.  After he arrives on Coruscant, Dooku shows the Geonosian designs of the Death Star to Darth Sidious and informs his master that their plan is working: "The war has begun."

Using a quote from the above article, answer the following question: What did Dooku do in Attack of the Clones?
Count Dooku appears as the leader of the Confederacy of Independent Systems, a federation of planetary systems rebelling against the Galactic Republic.