Goguryeo (also spelled as Koguryŏ) was also known as Goryeo (also spelled as Koryŏ), and it eventually became the source of the modern name of Korea [REF].
In 642, the powerful general Yeon Gaesomun led a coup and gained complete control over Goguryeo.