When Revan rejected Shan's pleas to reclaim his former mantle of Dark Lord, Shan fled to the Star Forge. Revan and his companions boarded the Star Forge aboard the light freighterEbon Hawk. After battling through hordes of Dark Jedi and Sith troopers, Revan confronted Shan, who was ordered by Malak to kill Revan. However, Revan convinced Shan to return to the light side and use her Battle meditation—a Forcepower that bolstered her allies' will while demoralizing the enemy—against the Sith. He then went on to confront Darth Malak. When Revan approached the door to the turbolift that lead to the observation platform, Malak met him there, using the Force to choke two Jedi prisoners. Malak then used the Force to throw his lightsaber into one Jedi's chest, and unleashed a blast of Force lightning at the other, killing both. Revan told Malak that the Jedi would show him mercy if he surrendered, but Malak retorted that the stripping of one's power was no act of mercy, and that he would rather die. Malak then unleashed an unlimited force of Star Forge droids on Revan, and retreated to the observation deck. After Revan defeated the droids, he entered the turbolift and made his way to the observation deck to confront the Dark Lord.[1]
"Im… [cough] impossible. I… I cannot be beaten. I am the Dark Lord of the Sith." "The power of the light will always be stronger than the dark side." "Still… [cough] still spouting the wisdom the Jedi, I see. Maybe there is more truth in their code than I ever believed. I… I cannot help but wonder, Revan. What would have happened had our positions been reversed? What if fate had decreed I would be captured by the Jedi? Could I have returned to the light, as you did? [cough] If you had not led me down the dark path in the first place, what destiny would I have found?" "I am sorry I started you on this path. But you chose to continue down it." "I suppose… I suppose you speak the truth. I alone must accept responsibility for my fate. I wanted to be Master of the Sith and ruler of the galaxy. But that destiny was not mine, Revan. [cough] It might have been yours, perhaps… but never mine. And in the end, as the darkness takes me, I am nothing."
When Revan approached Malak, the Dark Lord congratulated his former Master, stating that he expected the Star Forge's defenses to destroy Revan. However, Malak saw that there was more of Revan's old self in him then he expected. Malak opined that Revan was stronger than he ever was during his reign as the Dark Lord, and Malak remarked that he did not think that was possible. Malak then told Revan that he was tempted to try and capture Revan alive, so that he could break Revan and make him become his own apprentice. Revan said that he would never turn to the dark side again. They began a lightsaber duel, one whose victor would decide the fate of the galaxy, as the Republic and Sith forces raged around them outside the ancient superweapon's observation deck. As the two former best friends engaged one another in a deadly duel, the Dark Lord withdrew from battle, explaining that he could not be defeated. Malak then used the Force to drain the life-force from one of eight captive Jedi that Malak captured from the Jedi Enclave on Dantooine, when he and his forces attacked the planet. Revan destroyed the other stasis pods, allowing the other Jedi to become one with the Force.[1]
Revan then focused his attention on cutting Malak down again. Eventually, Revan succeeded in landing the fatal blow, bringing Malak to his knees. Amazed that he had been defeated, Malak began to regret turning to the dark side. Revan apologized to his one-time friend for starting him down the dark path, but reminded Malak that he chose to continue down it. Malak stated that perhaps there was more truth in the Jedi Code than he ever believed, and wondered what would have happened if their positions had been reversed. Malak died with sorrow and regret over his deeds, but without hatred or malice towards his former Master. Revan then escaped the Star Forge with his companions on the Ebon Hawk, and the Republic Navy began bombarding the station, which sent it crashing into the Rakata system's sun. After Revan and his companions returned to[1] Rakata Prime,[8] they were rewarded by the Republic AdmiralForn Dodonna, each receiving the Cross of Glory, the highest honor the Republic could bestow on an individual. Revan was also re-bestowed the rank of Jedi Knight by Jedi MasterVandar Tokare, being proclaimed "the Prodigal Knight". With both Bastila Shan and Revan once again on the Republic and Jedi Order's side, and the Sith Empire's primary factory destroyed, the Sith forces were routed by the Republic.[1]
The Duel on the Star Forge first appeared in the 2003Xbox and PCvideo gameStar Wars: Knights of the Old Republic, developed by BioWare.[1] The light-sided ending in which Revan slays Malak and destroys the Star Forge has been confirmed as the canonical ending by The New Essential Chronology, Jedi vs. Sith: The Essential Guide to the Force, and the Knights of the Old Republic Campaign Guide. However, in the alternate dark side ending for Star Wars: Knights of the Old Republic, Revan gives in to the dark side at the Temple of the Ancients[1] on Rakata Prime.[8] He and Bastila Shan, who has sworn fealty to him, board the Star Forge and make their way to the command center. Revan confronts Malak in the Star Forge's observation deck after he slays three of the Dark Lord's Dark Jedi and defeats the Star Forge droids. Malak is eventually slain by Revan, who reclaims his title of Dark Lord of the Sith.[11]
In the novel Darth Bane: Path of Destruction, written by Drew Karpyshyn, Revan was said to have been a Jedi Master at the time of the duel.[12] However, in Knights of the Old Republic, he is a Padawan.[1] An image depicting Revan and Malak's final duel was featured in The Jedi Civil War the eighth entry of the Galactic Timeline, a online video series created to elaborate upon the background for the video game Star Wars: The Old Republic. In the image, Bastila Shan is depicted as having also confronted Malak.[10] However, in Star Wars: Knights of the Old Republic, she was using her battle meditation for the Republic's fleet, leaving Revan to confront Malak by himself.[1]Robert Chestney, one of the game developers for BioWare's upcoming The Old Republic video game, attributed the conflicting details to the accounts of an ill-informed Jedi Master who lived more than three-hundred years afterward.[13] An easter egg in the ending of Star Wars: Knights of the Old Republic allows the player to transform Malak into a green-skinned Twi'lek dancer and skip the final battle.[14]
It is possible for Revan to simply ignore the Captive Jedi and concentrate only on Malak, which results in a much longer and more difficult duel.[1]
↑Star Wars: Knights of the Old Republic: in both game platforms the cheat code must be entered before the player speaks to Malak on the Star Forge's viewing platform. Xbox version: the player has to add another controller, and hold the left and right triggers and press the "Y" button simultaneously on both controllers. Then after Malak draws his lightsaber, Revan would use the Force on Malak, and the Sith Lord would morph into a Twi'lek dancing girl. PC version: after enabling cheats in the game, the player must enter "dancedancemalak," and Malak instantly turns into the dancing girl. Revan then dances with the Twi'lek.