In the prequel film Star Wars: Episode II – Attack of the Clones (2002), the first clone troopers are cloned from bounty hunter Jango Fett, to be the Army of the Republic in the Clone Wars.[5] In Episode III: Revenge of the Sith (2005), Chancellor Palpatine orders them to slay their Jedi generals in the Great Jedi Purge.[18] After the change in regimes from the Galactic Republic to the Galactic Empire, the clone troopers who had served the Republic became the first generation of stormtroopers, enforcing the Emperor's will as military units, and law enforcement, policing the Emperor's ever increasingly oppressive laws.[19]