Yi Seong-gye, who had been ordered to attack China, turned his army around and staged a coup. Yi Seong-gye declared the new name of Korea as "Joseon" in reference to Gojoseon, and moved the capital to Hanseong (one of the old names of Seoul). The first 200 years of the Joseon dynasty were marked by peace, and saw great advancements in science and education, as well as the creation of Hangul by Sejong the Great to promote literacy among the common people. The prevailing ideology of the time was Neo-Confucianism, which was epitomized by the seonbi class: nobles who passed up positions of wealth and power to lead lives of study and integrity. Between 1592 and 1598, Toyotomi Hideyoshi launched invasions of Korea, but his advance was halted by Korean forces (most notably the Joseon Navy led by Admiral Yi Sun-sin and his renowned "turtle ship") with assistance from Righteous Army militias formed by Korean civilians, and Ming dynasty Chinese troops. Through a series of successful battles of attrition, the Japanese forces were eventually forced to withdraw, and relations between all parties became normalized. However, the Manchus took advantage of Joseon's war-weakened state and invaded in 1627 and 1637, and then went on to conquer the destabilized Ming dynasty. After normalizing relations with the new Qing dynasty, Joseon experienced a nearly 200-year period of peace. Kings Yeongjo and Jeongjo particularly led a new renaissance of the Joseon dynasty during the 18th century. In the 19th century, the royal in-law families gained control of the government, leading to mass corruption and weakening of the state, and severe poverty and peasant rebellions throughout the country. Furthermore, the Joseon government adopted a strict isolationist policy, earning the nickname "the hermit kingdom", but ultimately failed to protect itself against imperialism and was forced to open its borders. After the First Sino-Japanese War and the Russo-Japanese War, Korea was annexed by Japan (1910–1945). What followed was a period of forced assimilation, in which Korean language, culture, and history were suppressed. Towards the end of World War II, the U.S. proposed dividing the Korean peninsula into two occupation zones (a U.S. and Soviet one). Dean Rusk and Charles H. Bonesteel III suggested the 38th parallel as the dividing line, as it placed Seoul under U.S. control. To the surprise of Rusk and Bonesteel, the Soviets accepted their proposal and agreed to divide Korea. Modern history Despite