Revan is a fictional character in the Star Wars franchise. He was created for BioWare's 2003 role-playing video game Star Wars: Knights of the Old Republic, in which he is the playable protagonist. Players may choose Revan's gender, appearance, and what path he follows throughout the game, but canonically the character is male and follows the light side of the Force. Within the game's narrative, Revan is a former Jedi hero who lived during the Old Republic Era. After turning to the dark side and becoming a Sith Lord, he took on the name Darth Revan and formed a Sith Empire to conquer the galaxy, contending with the Republic's armies. During a battle, Revan was betrayed by his friend and Sith Apprentice Darth Malak, left with amnesia, and captured by the Jedi. Taking advantage of his condition, the Jedi gave Revan a false identity and persuaded him to rejoin their ranks so that he could help bring down his own former Empire, now led by Malak. Revan's true identity isn't revealed to the player until later in the game, prior to which their custom character lacks any predefined identity and "Darth Revan" is believed to be dead.