After the Meiji Restoration, in 1872, the Japanese government unilaterally declared that the Ryukyu Kingdom was then Ryukyu Domain and began incorporating the islands as a part of Japan. In 1879, after the Ryukyuan government resisted and disobeyed orders from Tokyo, Japan abolished the domain, deposed the king, and established Okinawa Prefecture. The Qing Dynasty of China, however, opposed the action, claiming sovereignty over the former kingdom. Japan proposed to cede the Sakishima Islands, provided China add "most favored nation" status of Japan to the Sino-Japanese Treaty of Amity. China agreed at first, but after objections from Viceroy Li Hongzhang, the agreement was not made. China effectively conceded its claims to sovereignty over Ryukyu, including the Sakishima Islands, following its defeat by Japan in the Sino-Japanese War of 1894-95.