
Gyeongsun of Silla surrendered and named Wang as his successor in 935 AD, and in the same year Gyeon, who had escaped to Later Goguryeo territory, appealed to his old enemy Wang for help to remove Gyeon Singeom.

In 934 AD, after Wang's overwhelming victory over Baekje at Unju ( Hongseong), large amounts of Koreanic refugees and a few Mohe tribes from the northern state of Balhae (Parhae) felt the situation stable enough to return to Korea. Wang was now in possession of most of Silla's territory, which he controlled via a new garrison outside Gyeongju, and his position as de facto ruler of Korea was recognised by the Tang dynasty of China in 932 AD. Back at the Baekje capital, Gyeon faced a rebellion led by his son Gyeon Singeom, who, displeased that his father had favoured his younger brother as next in line for the throne, imprisoned Gyeon. Gyeon Hwon then lost a battle at Geochang to a force led by Wang. Wang responded by attacking the Later Baekje capital, which was now beset by leadership in-fighting. 924-927 AD) was forced to commit suicide and a puppet ruler, Kim Pu installed in his place with the reign name of Gyeongsun. When Baekje attacked and sacked the Silla capital of Gyeongju in 927 AD, the Silla king Gyeongae of Silla (r. Silla, now the weakest of the three kingdoms and only controlling a small heartland in the deep south, responded by calling on Later Goguryeo for assistance. Later Baekje (Hubaekche) attacked the Silla kingdom in 920 and 924 AD. Wang selected the new name of Goryeo (Koryo) and moved the capital to Songak (modern Kaesong) where his father had long been a wealthy merchant and local headman. Wang had already distinguished himself as a naval commander, capturing several islands and blocking Baekje's trade with China and Japan. Gung was succeeded in 918 AD by his first minister, the able Wang Geon who probably had a hand in his hated predecessor's assassination. He even claimed he had the power of mind-reading and used his 'skills' to purge his court of anyone he suspected of disloyal intentions. Gung had become drunk on power and believed himself to be the Maitreya Buddha, spent his time composing sutras, dressed himself and his family in extravagant robes, and never went anywhere without an entourage of 200 monks chanting in his wake. Gyeon Hwon attacked Gyeongju, the Silla capital, in 927 AD, while Gung Ye's unpopular and fanatical tyranny led to his death at the hands of his people. There then followed a protracted power struggle for control of the peninsula. One thing that never changed was Gung's hatred of Silla and his insistence that his subjects always refer to it as the 'nation of the damned.' He also twice changed the name of his kingdom – to Majin in 904 AD and Taebong in 911 AD – illustrative of his unstable character. His capital was first at Songak ( Gaesong) and then Cheorwon. He, too, had formed an alliance with Yanggil but proved rather more ruthless and killed the bandit, clearing the way to declare himself king in his own right. Gung Ye was either the illegitimate son of Gyeongmun of Silla or Heonan of Silla depending on the account. Meanwhile, an aristocratic Buddhist monk leader, Gung Ye, declared a new Goguryeo state in the north in 901 AD, known as Later Goguryeo (Hugoguryo). He chose Wansan (modern Jeonju) as his capital.

By 900 AD Gyeon became more ambitious and, joining forces with the bandit Yanggil, formed a revival of the old Baekje (Paekche) kingdom in the south-west portion of the peninsula. Gyeon Hwon (867-936 AD), a peasant leader and Silla army officer, took advantage of the political unrest in 892 AD and made himself military governor of the city of Muju. This period of political turmoil which turned into a free-for-all for control of Korea is referred to as the Later Three Kingdoms period (889-935 AD). Banditry swept across the peninsula, particularly infamous examples being Chongill, Kihwon, Yanggil, and a group known as the Red Pantaloons (Chokkojok). The weakness of the central Silla government meant that local warlords and strongmen, always difficult to bring under state control at the best of times, now ruled their own territories as they pleased. The aristocracy began to resent the power and waste of the king, landowners resisted centralised control, and the peasantry grew more and more rebellious over the incessant taxes levied upon them. The rigidity of its class structure based on the Bone rank system meant that few could rise above the position of their birth and ideas and innovation were stifled. The Unified Silla Kingdom (668- 935 AD) had held sway over the Korean peninsula for three centuries, but the state was in a slow decline.
