When an assassination attempt is made on Senator Padmé Amidala , the former Queen of Naboo , Jedi apprentice Anakin Skywalker is assigned to protect her , while his mentor Obi-Wan Kenobi is assigned to investigate the assassination attempt .
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 .