 In 244, Guanqiu Jian, a general of Han's successor state Cao Wei, defeated Dongcheon and briefly occupied and sacked Goguryeo's capital.Wei invaded again in 259 but was defeated at Yangmaenggok; according to the Samguk Sagi, Jungcheon assembled 5,000 elite cavalry and defeated the invading Wei troops, beheading 8,000 enemies.As Goguryeo extended its reach into the Liaodong Peninsula, the last Chinese commandery at Lelang was conquered and annexed by Micheon in 313, bringing the remaining northern part of the Korean peninsula into the fold.