A Jedi General was a high-ranking Jedi military officer in the Grand Army of the Republic. The title was created in 22 BBY, shortly after the start of the Clone Wars, and was reserved for Jedi Knights, Jedi Masters, and the Jedi High Council—the governing body of the Jedi Order. As generals, the Jedi were responsible for leading the Galactic Republic‘s clone trooper army against the forces of the Confederacy of Independent Systems.
By 19 BBY, the Jedi were spread thin across the galaxy. As the war drew to a close, Supreme Chancellor Sheev Palpatine ordered the clone army to initiate Order 66—a military protocol authorizing the annihilation of the Jedi Order, which the clone troopers were programmed to obey without question. As a result, many unsuspecting Jedi generals were summarily executed by their own soldiers, although a few survivors managed to escape into exile, such as Obi-Wan Kenobi and Grand Master Yoda.
Having liquidated most of the Grand Army’s Jedi officers, Palpatine—whose secret identity was Darth Sidious, the Dark Lord of the Sith—declared himself Emperor of the Galactic Empire. Anakin Skywalker, a Jedi General who turned to the dark side of the Force, became the Emperor’s apprentice and enforcer, and assumed the identity of Darth Vader.