The Battle of Shanghai (太平軍二攻上海) was a major engagement of the Taiping Rebellion that occurred from June 1861 to July 1862. British and French troops used modern artillery on a large scale for the first time in China. Cannon fire inflicted heavy casualties on the Taiping forces, whose commander Li Xiucheng was wounded in the left leg by a shot fired from a cannon.