Originally, Deoksugung Palace was not a palace. The Imjin War (the Japanese invasions in 1592) left all the palaces in Korea severely damaged. When King Seonjo (the fourteenth king of the Joseon Dynasty) returned to Seoul from his evacuation, the primary palace Gyeongbokgung Palace had been burnt to the ground and other palaces were also heavily damaged. A temporary palace was chosen from among the houses of the royal family. This is the origin of Deoksugung Palace.