The First Opium War revealed the outdated state of the Chinese military. The Qing navy, composed entirely of wooden sailing junks, was severely outclassed by the modern tactics and firepower of the British Royal Navy. British soldiers, using advanced muskets and artillery, easily outmaneuvered and outgunned Qing forces in ground battles. The Qing surrender in 1842 marked a decisive, humiliating blow to China. The Treaty of Nanjing, the first of the unequal treaties, demanded war reparations, forced China to open up the five ports of Canton, Amoy, Fuchow, Ningpo and Shanghai to western trade and missionaries, and to cede Hong Kong Island to Britain. It revealed many inadequacies in the Qing government and provoked widespread rebellions against the already hugely unpopular regime.

Answer this question, if possible (if impossible, reply "unanswerable"): When did the Qing surrender to the British?
1842