In 1945, Korea gained its independence from Japan and the city was renamed Seoul. In 1949, the city separated from Gyeonggi Province and it became a "special city." In 1950 however, North Korean troops occupied the city during the Korean War and the entire city was nearly destroyed. On March 14, 1951, United Nations forces took control of Seoul and since then, the city has rebuilt and grown considerably.