Darth Krayt was originally a Jedi named A’Sharad Hett who fought on behalf of the Republic during the Clone Wars. However, after Order 66, Hett fell to the dark side, and became Darth Krayt.