The situation changed in the 19th century, with other powers increasingly eyeing Taiwan for its strategic location and resources. In response, the administration began to implement a modernization drive. In 1887, Fujian-Taiwan Province was declared by Imperial decree. Within 10 years, Taiwan had become one of the most modern provinces in the Empire. However, the fall of the Qing outpaced the development of Taiwan, and in 1895, following its defeat in the First Sino-Japanese War, the Imperial government ceded Taiwan to Japan in perpetuity. Qing loyalists briefly resisted the Japanese rule under the banner of the "Republic of Taiwan", but were quickly put down by Japanese authorities.