Question: When did Japan finish invading the country it turned into a colony?

full_context: Document 1: Korean War: Korea was ruled by Japan from 1910 until the closing days of World War II. In August 1945, the Soviet Union declared war on Japan and—by agreement with the United States—occupied Korea north of the 38th parallel. U.S. forces subsequently occupied the south and Japan surrendered. By 1948, two separate governments had been set up. Both governments claimed to be the legitimate government of Korea, and neither side accepted the border as permanent. The conflict escalated into open warfare when North Korean forces—supported by the Soviet Union and China—invaded South Korea on 25 June 1950. On that day, the United Nations Security Council recognized this North Korean act as invasion and called for an immediate ceasefire. On 27 June, the Security Council adopted S/RES/83: Complaint of aggression upon the Republic of Korea and decided the formation and dispatch of the UN Forces in Korea. Twenty-one countries of the United Nations eventually contributed to the defense of South Korea, with the United States providing 88% of the UN's military personnel.
Document 2: Japanese war crimes: Outside Japan, different societies use widely different timeframes in defining Japanese war crimes. For example, the annexation of Korea by Japan in 1910 was enforced by the Japanese military, and the Society of Yi Dynasty Korea was switched to the political system of the Empire of Japan. Thus, North and South Korea refer to "Japanese war crimes" as events occurring during the period of Korea under Japanese rule.By comparison, the Western Allies did not come into military conflict with Japan until 1941, and North Americans, Australians, South East Asians and Europeans may consider "Japanese war crimes" to be events that occurred in 1942–1945.Japanese war crimes were not always carried out by ethnic Japanese personnel. A small minority of people in every Asian and Pacific country invaded or occupied by Japan collaborated with the Japanese military, or even served in it, for a wide variety of reasons, such as economic hardship, coercion, or antipathy to other imperialist powers.Japan's sovereignty over Korea and Formosa (Taiwan), in the first half of the 20th century, was recognized by international agreements—the Treaty of Shimonoseki (1895) and the Japan–Korea Annexation Treaty (1910)—and they were considered at the time to be integral parts of the Japanese Empire. Under the international law of today, there is a possibility the Japan-Korea Annexation Treaty was illegal, as the native populations were not consulted, there was armed resistance to Japan's annexations, and war crimes may also have been committed during the civil wars.
Document 3: Korean War: Korea was considered to be part of the Empire of Japan as an industrialized colony along with Taiwan, and both were part of the Greater East Asia Co-Prosperity Sphere. In 1937, the colonial Governor-General, General Jirō Minami, commanded the attempted cultural assimilation of Korea's 23.5 million people by banning the use and study of Korean language, literature, and culture, to be replaced with that of mandatory use and study of their Japanese counterparts. Starting in 1939, the populace was required to use Japanese names under the Sōshi-kaimei policy. Conscription of Koreans for labor in war industries began in 1939, with as many as 2 million Koreans conscripted into either the Japanese Army or into the Japanese labor force.
Document 4: Qing dynasty: In 1884, pro-Japanese Koreans in Seoul led the Gapsin Coup. Tensions between China and Japan rose after China intervened to suppress the uprising. Japanese Prime Minister Itō Hirobumi and Li Hongzhang signed the Convention of Tientsin, an agreement to withdraw troops simultaneously, but the First Sino-Japanese War of 1895 was a military humiliation. The Treaty of Shimonoseki recognized Korean independence and ceded Taiwan and the Pescadores to Japan. The terms might have been harsher, but when Japanese citizen attacked and wounded Li Hongzhang, an international outcry shamed the Japanese into revising them. The original agreement stipulated the cession of Liaodong Peninsula to Japan, but Russia, with its own designs on the territory, along with Germany and France, in what was known as the Triple Intervention, successfully put pressure on the Japanese to abandon the peninsula.
Document 5: Samurai: Historian H. Paul Varley notes the description of Japan given by Jesuit leader St. Francis Xavier (1506–1552): "There is no nation in the world which fears death less." Xavier further describes the honour and manners of the people: "I fancy that there are no people in the world more punctilious about their honour than the Japanese, for they will not put up with a single insult or even a word spoken in anger." Xavier spent the years 1549–1551 converting Japanese to Christianity. He also observed: "The Japanese are much braver and more warlike than the people of China, Korea, Ternate and all of the other nations around the Philippines."
Document 6: Korea under Japanese rule: Korea under Japanese rule began with the end of the short - lived Korean Empire in 1910 and ended at the conclusion of World War II in 1945. Japanese rule of Korea was the outcome of a process that began with the Japan -- Korea Treaty of 1876, whereby a complex coalition of the Meiji government, military, and business officials sought to integrate Korea both politically and economically into the Empire of Japan. A major stepping - stone towards the Japanese occupation of Korea was the Japan -- Korea Treaty of 1905, in which the then - Korean Empire was declared a protectorate of Japan. The annexation of Korea by Japan was set up in the Japan -- Korea Treaty of 1910, which was never actually signed by the Korean Regent, Gojong.
Document 7: Samurai: Katō Kiyomasa was one of the most powerful and well-known lords of the Sengoku Era. He commanded most of Japan's major clans during the invasion of Korea (1592–1598). In a handbook he addressed to "all samurai, regardless of rank" he told his followers that a warrior's only duty in life was to "...grasp the long and the short swords and to die". He also ordered his followers to put forth great effort in studying the military classics, especially those related to loyalty and filial piety. He is best known for his quote: "If a man does not investigate into the matter of Bushido daily, it will be difficult for him to die a brave and manly death. Thus it is essential to engrave this business of the warrior into one's mind well."
Document 8: Samurai: In the 13th century, Hōjō Shigetoki (1198–1261 AD) wrote: "When one is serving officially or in the master's court, he should not think of a hundred or a thousand people, but should consider only the importance of the master." Carl Steenstrup noted that 13th and 14th century warrior writings (gunki) "portrayed the bushi in their natural element, war, eulogizing such virtues as reckless bravery, fierce family pride, and selfless, at times senseless devotion of master and man". Feudal lords such as Shiba Yoshimasa (1350–1410 AD) stated that a warrior looked forward to a glorious death in the service of a military leader or the Emperor: "It is a matter of regret to let the moment when one should die pass by....First, a man whose profession is the use of arms should think and then act upon not only his own fame, but also that of his descendants. He should not scandalize his name forever by holding his one and only life too dear....One's main purpose in throwing away his life is to do so either for the sake of the Emperor or in some great undertaking of a military general. It is that exactly that will be the great fame of one's descendants."
Document 9: Samurai: The philosophies of Buddhism and Zen, and to a lesser extent Confucianism and Shinto, influenced the samurai culture. Zen meditation became an important teaching due to it offering a process to calm one's mind. The Buddhist concept of reincarnation and rebirth led samurai to abandon torture and needless killing, while some samurai even gave up violence altogether and became Buddhist monks after realizing how fruitless their killings were. Some were killed as they came to terms with these realizations in the battlefield. The most defining role that Confucianism played in samurai philosophy was to stress the importance of the lord-retainer relationship—the loyalty that a samurai was required to show his lord.
Document 10: Division of Korea: The division of Korea between North and South Korea occurred after World War II, ending the Empire of Japan's 35 - year rule over Korea in 1945. The United States and the Soviet Union each occupied a portion of the peninsula, with the boundary between their zones of control along the 38th parallel.
Document 11: Samurai: Torii Mototada (1539–1600) was a feudal lord in the service of Tokugawa Ieyasu. On the eve of the battle of Sekigahara, he volunteered to remain behind in the doomed Fushimi Castle while his lord advanced to the east. Torii and Tokugawa both agreed that the castle was indefensible. In an act of loyalty to his lord, Torii chose to remain behind, pledging that he and his men would fight to the finish. As was custom, Torii vowed that he would not be taken alive. In a dramatic last stand, the garrison of 2,000 men held out against overwhelming odds for ten days against the massive army of Ishida Mitsunari's 40,000 warriors. In a moving last statement to his son Tadamasa, he wrote:
Document 12: Samurai: It should be noted that many samurai forces that were active throughout this period were not deployed to Korea; most importantly, the daimyo Tokugawa Ieyasu carefully kept forces under his command out of the Korean campaigns, and other samurai commanders who were opposed to Hideyoshi's domination of Japan either mulled Hideyoshi's call to invade Korea or contributed a small token force. Most commanders who did opposed or otherwise resisted/resented Hideyoshi ended up as part of the so-called Eastern Army, while commanders loyal to Hideyoshi and his son (a notable exception to this trend was Katō Kiyomasa, who deployed with Tokugawa and the Eastern Army) were largely committed to the Western Army; the two opposing sides (so named for the relative geographical locations of their respective commanders' domains) would later clash, most notably at the Battle of Sekigahara, which was won by Tokugawa Ieyasu and the Eastern Forces, paving the way for the establishment of the Tokugawa Shogunate.
Document 13: Samurai: Bushi was the name given to the ancient Japanese soldiers from traditional warrior families. The bushi class was developed mainly in the north of Japan. They formed powerful clans, which in the 12th century were against the noble families who were grouping themselves to support the imperial family who lived in Kyoto. Samurai was a word used by the Kuge aristocratic class with warriors themselves preferring the word bushi. The term Bushidō, the "way of the warrior", is derived from this term and the mansion of a warrior was called bukeyashiki.
Document 14: Japanese colonial empire: Korea was occupied and declared a Japanese protectorate following the Japan -- Korea Treaty of 1905, and officially annexed in 1910 through the annexation treaty.
Document 15: Korean War: Korea was ruled by Imperial Japan from 1910 until the closing days of World War II. In August 1945, the Soviet Union declared war on Imperial Japan, as a result of an agreement with the United States, and liberated Korea north of the 38th parallel. U.S. forces subsequently moved into the south. By 1948, as a product of the Cold War between the Soviet Union and the United States, Korea was split into two regions, with separate governments. Both claimed to be the legitimate government of all of Korea, and neither accepted the border as permanent. The conflict escalated into open warfare when North Korean forces -- supported by the Soviet Union and China -- moved into the south on 25 June 1950. On 27 June, the United Nations Security Council authorized the formation and dispatch of UN forces to Korea to repel what was recognized as a North Korean invasion. Twenty - one countries of the United Nations eventually contributed to the UN force, with the United States providing 88% of the UN's military personnel.
ground_truth: 1598
sub_queries: what nation did japan turn into a colony Answer: Korea
When did Japan finish invading Korea ? Answer: 1598