 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.The treaty was drafted with John W. Foster, former American Secretary of State, advising the Qing Empire.