Hero

In ancient China during the Warring States period, Nameless, a Qin prefect, arrives at the Qin capital city to meet the king of Qin, who had survived an attempt on his life by the assassins Long Sky, Flying Snow, and Broken Sword. As a result, the king has implemented extreme security measures: no visitors are to approach the king within 100 paces. Nameless claims that he has slain the three assassins and he displays their weapons before the king, who allows the former to approach and tell him his story.
Nameless recounts first killing Lone Sky, before traveling to meet Flying Snow and Broken Sword, who had taken refuge at a calligraphy school in the Zhao state. He tells Sword that he is there to commission a calligraphy scroll with the character for "Sword", secretly seeking to learn Sword's skill through his calligraphy. Nameless also learns that Snow and Sword, who are lovers, had gradually grown distant. Once the scroll is complete, Nameless reveals his identity and challenges both Snow and Sword to a duel the next day. Sword, who knows that the scroll has revealed his weaknesses to Nameless, makes love to his pupil Moon, but is seen by Snow. In revenge, Snow kills Sword, followed by Moon when she attempted to seek revenge for her master. The next day, Nameless kills the emotionally unstable Snow before the Qin army, and claims her sword. As the tale concludes, the king expresses disbelief and accuses Nameless of staging the duels with the assassins, as in the previous assassination attempt he had perceived Sword as an honourable man who would not stoop so low as to cheat on Snow. The king then suggests that what really happened was that the assassins volunteered their lives so that Nameless could gain the king's trust, which would allow Nameless to get close enough to the king to kill him. He then narrates his guess at what really happened.
In the king's version of the story Nameless had sought out Snow and Sword after staging the battle with Sky, telling them that he had acquired a special technique that would allow him to kill any target that is within 10 paces. Nameless explains that he can use this technique to kill the king, but to get close enough he must present Snow's and Sword's weapons to the king. He further explains that he only needs to kill one of them in public to "prove" that he has killed both of them. Snow and Sword argue over who should be the one to die, which results in a short fight in which Snow is quicker and manages to injure Sword. Snow then proceeds to meet Nameless before the Qin army while Sword, still recovering from his wound, watches helplessly as Snow is defeated. Moon then gives Nameless her master's sword, telling him that the swords of Snow and Sword should remain together in death as they had in life.
Nameless admits that he does indeed possess the special technique the king alluded to. However he states that the King had underestimated Sword, and tells the true story. Nameless says that the special technique, while deadly, can also be used to deal a seemingly-fatal blow that nonetheless misses all the victim's vital organs. He had used this technique on Sky, and now asked Snow and Sword to cooperate by faking a duel with him as well. He demonstrates the technique by showing that it is highly accurate as well as deadly. Snow agrees to the plan, but Sword refuses. Snow angrily accuses Sword of ruining the opportunity they had three years ago, when they had broken into the Qin palace yet Sword had refused to kill the king. She then attacks Sword, and manages to wound him with Nameless's help. The next day, Nameless "kills" Snow in front of the Qin army. Sword sends Nameless off to the Qin capital, writing the words Tianxia in the sand before leaving. Sword had not killed the king 3 years ago because he desired a unified, peaceful state, and only the king of Qin could achieve that vision.
The king, touched by the tale and by Sword's understanding of his dream to unify China, ceases to fear Nameless. He tosses his sword to Nameless and examines the scroll drawn by Sword. The king understands that it describes the ideal warrior, who, paradoxically, should have no desire to kill. When Nameless realizes the wisdom of these words, he abandons his mission and spares the king.
When Snow learns that Sword had convinced Nameless to forgo the assassination, she furiously attacks Sword and unintentionally kills him when he chooses not to defend himself so that she would understand his feelings for her. Overwhelmed with sorrow, Snow commits suicide. Urged by his court, the king reluctantly orders Nameless to be executed at the Qin palace. He understands that in order to unify the nation, he must enforce the law and use Nameless as an example. As the film ends, Nameless receives a hero's funeral and a closing text identifies the king as Qin Shi Huang.

Question: WHO REFUSED TO KILL THE KING?
Answer: SWORD