The Japan–Korea Treaty of 1907 was made between the Empire of Japan and the Korean Empire in 1907. Negotiations were concluded on July 24, 1907. Treaty provisions The treaty provided that Korea should act under the guidance of a Japanese resident general. The effect of the treaty's provisions was that the administration of internal affairs was turned over to Japan. The Korean Empire had become a protectorate of Japan under the terms of the earlier Eulsa Treaty on 1905, and had thus lost the right to conduct diplomatic exchanges with other countries. Korean Emperor Gojong sent an envoy in secret to the Hague Conference on World Peace to protest Japan's actions. In retaliation, on July 18, 1907, Japan made Emperor Gojong abdicate in favor of his son Sunjong. Six days later, a new agreement was forced on the Korean government. Provisions in this new treaty gave the Japanese Resident-General the right to appoint and dismiss high-ranking officials (article 4) and stipulated that all high-ranking officials appointed to the Korean government must be Japanese (article 5). This brought the internal government of Korea fully under the control of Japan. The unpublished section of the treaty also placed the Korean army under Japanese leadership, and handed over judicial and policing powers. Translation of full text "The Governments of Japan and Korea, with a view to the early attainment of prosperity and strength in Korea and the speedy promotion of the welfare of the Korean people, have agreed upon and concluded the follow stipulations: Article I. The Government of Korea shall follow the directions of the Resident General in connection with the reform of administration. Article II. Korea shall not enact any law or ordinance or carry out any administrative measure unless it has previous approval of the Resident General. Article III. The judicial affairs of Korea shall be kept distinct from ordinary administrative affairs. Article IV. No appointment or dismissal of Korean officials of high grade shall be made without the consent of the Resident General. Article V. Korea shall appoint to official positions such Japanese as are recommended by the Resident General. Article VI. Korea shall not engage any foreigner without the consent of the Resident general. Article VII. The first clause of the agreement between Japan and Korea, dated Aug 22, 1904, is hereby abrogated." Lord Itō Hirobumi [Marquess], Resident-General, July 24, 40th year of the Meiji era [1907] (seal)