to Daehan Jeguk (Korean Empire). The name Daehan (Great Han) derives from Samhan (Three Han), referring to the Three Kingdoms of Korea, not the ancient confederacies in the southern Korean Peninsula. However, the name Joseon was still widely used by Koreans to refer to their country, though it was no longer the official name. Under Japanese rule, the two names Han and Joseon coexisted. There were several groups who fought for independence, the most notable being the Provisional Government of the Republic of Korea ( / ). Following the surrender of Japan, in 1945, the "Republic of Korea" ( / , IPA: , ; ) was adopted as the legal English name for the new country. However, it is not a direct translation of the Korean name. As a result, the Korean name "Daehan Minguk" is sometimes used by South Koreans as a metonym to refer to the Korean ethnicity (or "race") as a whole, rather than just the South Korean state. Conversely, the official name of North Korea in English, the "Democratic People's Republic of Korea", is a direct translation of the Korean name. Since the government only controlled the southern part of the Korean Peninsula, the informal term "South Korea" was coined, becoming increasingly common in the Western world. While South Koreans use Han (or Hanguk) to refer to both Koreas collectively, North Koreans and ethnic Koreans living in China and Japan use the term Joseon instead. History Ancient Korea The Korean Peninsula was inhabited as early as the Lower Paleolithic period. The history of Korea begins with the founding of Joseon (also known as "Gojoseon", or Old Joseon, to differentiate it with the 14th century dynasty) in 2333 BCE by Dangun, according to Korea's foundation mythology. Gojoseon was noted in Chinese records in the early 7th century. Gojoseon expanded until it controlled the northern Korean Peninsula and parts of Manchuria. Gija Joseon was purportedly founded in the 12th century BCE, but its existence and role have been controversial in the modern era. In 108 BCE, the Han dynasty defeated Wiman Joseon and installed four commanderies in the northern Korean peninsula. Three of the commanderies fell or retreated westward within a few decades. As Lelang commandery was destroyed and rebuilt around this time, the place gradually moved toward Liaodong. Thus, its force was diminished and it only served as a trade center until it was conquered by Goguryeo