箕子朝鮮
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 in 313.