By the Samguk Sagi's account Jumong founded Goguryeo at Heso fortress in 37 BC; the capital later moved to Wandu and then P'yŏngyang. The state appears already in the Hanshu (a 'marquis of Goguryeo' under Wang Mang), and the 414 stele of King Gwanggaeto, tracing the founder and his victories, is its principal epigraphic evidence - hence the timeline counts from 37 BC. Goguryeo stood by mountain fortresses and heavy cavalry, at war with Han, Wei, Sui and Tang in turn: Gwanggaeto crushed Baekje and the Buyeo; King Jangsu moved the capital to P'yŏngyang (427); at its height it held Liaodong and the Han river basin. Emperor Yang of Sui's three campaigns failed; from 645 Emperor Taizong campaigned in person; after Tang destroyed Baekje in 660 the pincer closed, P'yŏngyang fell in 668 and Goguryeo ended after more than seven hundred years. Its origins and allegiance are narrated differently in Chinese and Korean scholarship, hence a neutral lane placement in Inner Asia.
Editorial note on dating The 37 BC date follows the Samguk Sagi (the Jumong legend); Chinese records first mention a Goguryeo marquis c. AD 12 and the Gwanggaeto Stele (414) traces the founding - the state is attested soon after; its place between Korean and Chinese history is contested, hence a neutral lane placement in Inner Asia.