After China lost the war, both countries signed the Treaty of Shimonoseki in April 1895 that stipulated, among other things, that China would cede to Japan "the island of Formosa together with all islands appertaining or belonging to said island of Formosa (Taiwan)",