Rahm Kota was a Human male who served as a Jedi Master and General during the Clone Wars. Born on a war-torn world, Kota fought in the trenches during the planet's internal conflicts from the age of ten. At the age of eighteen, Kota met the Jedi Mace Windu, who had been dispatched to the planet to end the conflict peacefully. Discovering Kota's Force-sensitivity, Windu took Kota back to the Jedi Temple on Coruscant to be trained as a Jedi. Despite being well over the traditional age of acceptance, Kota was schooled in the Force by Master Yoda. He took Falon Grey as his Padawan sometime before the Clone Wars, training him to Knighthood. During the Clone Wars, Kota was made a general in the Grand Army of the Republic. He did not believe that clone troopers were fit for battle, however, and refused to lead them. Instead, he commanded his own militia, comprised of volunteers. In 19 BBY, when Order 66 was issued—an emergency contingency that ordered the clone forces to terminate their Jedi commanders, who had been deemed a threat to the Republic—Kota survived the slaughter of his fellow Jedi since there were no clone troopers serving with him.
Going into hiding with his militia, Kota allied himself with Alderaanian Senator Bail Organa. Kota began striking at Imperial targets, taking interest in the Dark Lord of the Sith Darth Vader and hoping to draw him into a confrontation. This culminated in a mission to seize a TIE Fighter Construction Facility in orbit of Nar Shaddaa. Kota believed that he could draw Vader out with the strike but was instead confronted by the Dark Lord's secret apprentice. The two dueled in the facility's command center; Kota was beaten and blinded but managed to escape the confrontation. With his confidence shaken—and his connection to the Force seemingly gone—Kota turned to drinking and went into hiding in Cloud City on Bespin. He was discovered by the apprentice he had dueled on Nar Shaddaa, who wanted his help in fighting the Empire. The apprentice—who had been tasked by Vader to create a rebellion with which to oppose Emperor Palpatine—wanted Kota to instruct him in the Force.