Wiman Chosŏn (194–108 BCE) was a dynasty of Old Chosŏn (Gojoseon). It began with Wiman (Wei Man)'s seizure of the throne from King Chun of Old Chosŏn and ended with the death of King Ugŏ, who was Wiman's grandson. Apart from archaeological data, the main source on this historical period comes from chapter 115 of Sima Qian's Shiji. Wiman was originally a Chinese military leader from the Kingdom of Yan under the Han dynasty.
According to the Shiji and Book of the Later Han, Wiman was a general from the Kingdom of Yan of northeastern China, who submitted to Kija Chosŏn's King Chun after the collapse of the Qin dynasty. Chun accepted and appointed Wiman commander of the western border region of Kija Chosŏn, which probably corresponds to the west of the present-day Liaoning. Despite the generosity that King Chun had demonstrated, Wiman revolted and destroyed Kija Chosŏn. In 194 BCE, he established Wiman Chosŏn and decided to locate his capital in Wanggeom-seong. Many Korean historians believe that the exact location of Wanggeom-seong was in Liaodong, present-day China.
In this period, Wiman Chosŏn expanded to control a vast territory and became strong economically by controlling trade between the Han dynasty and the peoples of Manchuria. The Emperor Wu of Han thought that Wiman Chosŏn increasingly threatened the Han dynasty, and Wiman Chosŏn would ally with the Xiongnu.
Canghai Commandery
Around 128–126 BCE, the Canghai Commandery covered an area in the northern Korea and southern Manchuria; it was centered in what is now South Hamgyong Province. Namnyŏ[ko] (남려;南閭)), who was a monarch of the Eastern Ye and a subject of Wiman Chosŏn, revolted against King Ugŏ, later surrendering to the Han dynasty with 280,000 people. The Canghai Commandery was established following this revolution, however, in two years, it was abolished by Gongsun Hong.
Wiman's grandson, King Ugŏ, allowed many exiles from the Han dynasty to live in Wiman Chosŏn, and with the growth of incoming population from China, King Ugŏ prevented the native Jin state in the south from communicating with the Han dynasty. As a result, in 109 BCE, Emperor Wu of Han invaded Wiman Chosŏn near the Luan River. After failing several times to defeat Wiman Chosŏn's armies, Han Wudi tried to convince the princes of Wiman Chosŏn to kill King Ugŏ. The conspiracy failed, leading to the destruction of Wiman Chosŏn. After the war, the Han Emperor Wudi sentenced two generals to death for failing to defeat Wiman Chosŏn.
After a year of battle, Wanggeom-seong was captured and Wiman Chosŏn was completely destroyed. The Han dynasty established the Four Commanderies of Han in the areas it captured, corresponding to the current area of the Liaodong Peninsula and the northwestern Korea. The Commanderies eventually fell to the rising Goguryeo in the 4th century.