Revan is depicted as a former Jedi who, along with Alek (later Darth Malak), left the Order to lead the fight in the Mandalorian Wars due to the Jedi's inaction. One year after the end of the Mandalorian Wars, Darth Revan returned to Republic space at the head of a massive invasion fleet. Calling themselves the Sith, they declared war on the Republic. Since his intention was to unite the galaxy under one ruler so he could attack the ancient Sith Empire, he avoided attacking key places such as Coruscant, Onderon, and Dantooine. The Sith won the battle and as the Dark Lord prepared to battle with the Jedi who boarded his flagship, Darth Malak, in the hopes of destroying both Revan and Bastila Shan (as well as the Jedi accompanying her), betrayed his Master, ordering the ships under his command to fire on Revan's flagship's bridge. Though Malak believed himself to have been successful in killing Revan, they survived. Revan, severely injured from the turbolaser blasts, was then taken by Bastila Shan and her Jedi strike team to the Jedi Enclave on Dantooine where the Jedi Council members chose to wipe Revan's memory, and imprint him with a false identity that the player creates at the beginning of the game. Knights of the Old Republic begins with Revan awaking on a starship under attack. Throughout the game, Revan learns of his forgotten history and assembles a band of followers as he searches for "Star Maps" that lead him back to the Star Forge, which Revan used to make his army. Revan encounters Malak, who tells Revan that he is the former Sith lord.