context: The film is set in China in the 1860s, during the Taiping Rebellion. It is based on the assassination of Ma Xinyi in 1870. In the beginning, there is a battle between loyalists and rebels, during which all of the loyalists are killed except Qingyun, the general. Qingyun goes to a village nearby where the inhabitants engage in banditry, being led by two men, Erhu and Wuyang. He offers his assistance in executing a raid against a rebel convoy. However, a loyalist army assaults the village shortly afterward and seizes the spoils for themselves. Around this time, Qingyun begins an affair with Erhu's wife.
  Since the villagers are poor and starving, Qingyun convinces them to fight the rebels as an independent loyalist war-band. Erhu and Wuyang are distrustful of Qingyun, so the three of them perform a blood ceremony where, under the pain of death, they promise to care for each other like brothers. The war-band wins a series of victories. Qingyun becomes ambitious and prepares to attack Suzhou and Nanjing. However, the government becomes fearful of Qingyun's growing influence, and decides to deny reinforcements and provisions. As a result, the attack on Suzhou becomes a year-long siege.
  Erhu attempts to kill the enemy commander by sneaking into the city in disguise. He is quickly captured, but to his surprise, the enemy commander was already planning on surrendering, and allows Erhu to kill him in exchange for sparing his troops from execution. However, Qingyun refuses to honor the deal and has the prisoners massacred. Erhu considers desertion, but Qingyun convinces him that the attack on Nanjing will liberate millions of innocent lives.
  Nanjing is easily taken, and Qingyun, in return for his grand success, is awarded the position of Nanjing's governor. As Qingyun waits for his inauguration, he tries to make friends with other upper-class people. Erhu, however, has been jaded by the war, and does improper things such as handing out bonus pay without permission. Qingyun responds by arranging for Erhu's murder, fearing a loss of reputation with the upper-class. Erhu, as he dies, curses the name of a rival, not realizing that he was betrayed by his own brother.
  Wuyang, having discovered Qingyun's betrayal and Qingyun's affair with Erhu's wife, reacts by killing Erhu's wife. On the day of the inauguration, Wuyang jumps out to kill Qingyun, but is unable to defeat him. It is then revealed, through a flash-back, that Qingyun's promotion was fake, and that the government's real desire was to murder Qingyun for gaining too much influence. At this point, a government soldier appears behind Qingyun and shoots him in the back. The government then frames Wuyang for the murder and gets ready to execute him. The film closes with Wuyang observing that "Dying is easy. Living is harder."
question: who gave food to the poor?
answer: Qingyun