The two Japanese invasions of Korea between 1592 and 1598 CE, otherwise known as the 'Imjin Wars', saw Toyotomi Hideyoshi (1537-1598 CE), the Japanese military leader, put into reality his long-held plan to invade China through Korea. The ambitious campaign got off to a brilliant start as cities like Pyongyang and Seoul were captured, but eventually, the combined operations of the Korean navy led by Admiral Yi Sun-sin, a large land army from Ming China, and well-organised local rebels resulted in the first invasion stalling in 1593 CE. After protracted and unsuccessful peace talks, Hideyoshi launched a second, much less successful invasion in 1597 CE, and when the warlord died the next year, the Japanese forces withdrew from the peninsula. One of the largest military operations ever undertaken in East Asia prior to the 20th century CE, the conflict would not only have devastating consequences for all concerned but permanently sour relations between Japan and Korea.
This is a companion discussion topic for the original content at https://www.worldhistory.org/article/1398/the-japanese-invasion-of-korea-1592-8-ce/.