Xuantu Commandery
After the fall of Wiman Joseon to the Han dynasty in 108 BCE, Ji'an was part of Goguryeo County under the administration of Xuantu Commandery. In 3 CE, the second ruler of Goguryeo, King Yuri, moved the state's capital to Gungnae (modern Ji'an) and established the mountain fortress Hwando nearby to defend it. Hwando was sacked by Wei State in 244 CE during the Goguryeo–Wei War. In 342 CE, Hwando was destroyed and thousands of people captured by the Murong Xianbei, after which Goguryeo focussed on expanding south and east. In 427 CE, the eleventh ruler of Goguryeo, King Jangsu, moved the capital to Pyongyang, which saw Gungnae relegated to subsidiary capital status.