Before the outbreak of the First Sino-Japanese War in 1894, Beijing once tried to give Taiwan to the British.