Input (grade 13): After a minor part in the film Dragonslayer, McDiarmid was cast by George Lucas in Return of the Jedi as Emperor Palpatine, the principal villain.
Output (grade 10): McDiarmid was cast by George Lucas in Return of the Jedi as Emperor Palpatine, the main villain.