During the Meiji period (1868–1912) the process began, according to which the Ryukyuan Kingdom came under the jurisdiction of Kagoshima Prefecture in 1871, encompassing the southern tip of Kyushu and the Ryukyuan islands to its south; this created the Ryukyu Domain (1872–1879) of Meiji-era Japan. This method of gradual integration was designed to avoid both Ryukyuan and Chinese protests, with the ruling Shuri government unaware of the significance of these developments, including Japan's decision to grant political representation to the Ryukyuan islanders involved in the Japanese invasion of Taiwan (1874).