The Japanese invasions of Korea comprised two separate yet linked operations: an initial invasion in 1592, a brief truce in 1596, and a second invasion in 1597. The conflict ended by 1598 in a military stalemate and the withdrawal of Japanese forces from the Korean Peninsula.
The invasions were launched by Toyotomi Hideyoshi with the intent of conquering Joseon Dynasty Korea and Ming Dynasty China. Japan quickly succeeded in occupying the Korean Peninsula, but the numerical superiority of the combined Ming and Joseon armies eventually resulted in a withdrawal towards coastal areas and a military stalemate. With Hideyoshi's death in September 1598, the Japanese forces in Korea were ordered to withdraw back to Japan by the new governing Council of Five Elders. Final peace negotiations between the parties followed afterwards and continued for several years, ultimately resulting in the normalization of relations.