Senator PadmÃ Amidala is nearly killed by an unknown assassin , and Supreme Chancellor Palpatine assigns two Jedi knights - Obi-Wan Kenobi and his apprentice Anakin Skywalker - to protect her . Supreme Chancellor Palpatine assigns Jedi Knight Obi-Wan Kenobi and his apprentice Anakin Skywalker to protect her .