 The total sum of 21 million dollars was to be paid in instalments over three years and the Qing government would be charged an annual interest rate of 5 percent for the money that was not paid in a timely manner (Article VII).The Qing government undertook to release all British prisoners of war (Article VIII), and to give a general amnesty to all Chinese subjects who had cooperated with the British during the war (Article IX).The British on their part, undertook to withdraw all of their troops from Nanking, the Grand Canal and the military post at Zhenhai, as well as not to interfere with China trade generally, after the emperor had given his assent to the treaty and the first instalment of money had been received (Article XII).