Yavin Code

The Yavin Code was a code created sometime about 1000 years prior to the Clone Wars. The code dictated the treatment of prisoners. One of the terms of the code was that prisoners had to be blindfolded prior to execution. Prior to his scheduled execution by General Greivous on a Separatist supply ship, Obi-Wan Kenobi told the security droids escorting him to the execution room of the code, distracting them before Anakin Skywalker rescued him.