However, Imperial Japan was too strong for the Qing Dynasty to cope with, and eventually Li gave Taiwan up. On 17 April 1895, the peace treaty between Imperial Japan and the Qing Dynasty had been signed and was followed by the successful Japanese invasion of Taiwan. This had a huge impact on Taiwan, the turning over of the island to Imperial Japan marking the end of 200 years of Qing rule despite an attempt by Qing loyalists to prevent the annexation.