In the 9th and 10th century, Silla was shaken by problems arising from its reliance on the "bone rank system", a rigid class system under which only those from an aristocratic background could be appointed in high office. The system was being abused as means for the ruling royal family to dominate politically and this caused much unrest in the latter days of Silla. The local gentry called hojok (hangul:호족, hanja: 豪族), i.e. mid-level nobility or village chiefs, strengthened their power during this chaotic period by assembling armies of their own and independently centralizing their forces. Dissention deepened within the nobility after the death of King Hyegong as contention over royal succession intensified and power struggles were constant among the hojok. Not only was the political atmosphere in shambles, the financial state of Silla was dire. Taxation was difficult without the nobles' cooperation. As a result, the tax burden fell heavily on the peasants and farmers, who consequently revolted in 889, the third year of Queen Jinseong's reign. Numerous revolts and uprisings occurred during the following 100 years, breaking Silla down.
As Silla started to crumble, Gyeon Hwon, a former general of Silla, led rebel troops to seize the provincial capital of Mujinju (hangul:무진주, hanja:武珍州), today's Gwangju in 892. He then conquered the southwest regions and in 900, Gyeon Hwon declared himself king of Hubaekje ("later Baekje"), a country to revive Baekje's glory. He established his capital at Wansanju (hangul:완산주, hanja:完山州), today's Jeonju, and continued to expand the kingdom.
Gung Ye from Silla is believed to come from a royal or noble background. He was a Buddhist monk but soon joined in the political uprisings, and became leader of many troops. He conquered much land and set up base in Myeongju (hangul:명주, hanja:溟州), today's Gangneung in 895 with the support of many regional leaders, including general Wanggeon. In 901, Gung Ye founded Hugoguryeo but changed the name to Majin in 904, and moved the capital to Cheorwon. He changed the name to Taebong in 911.
Although Hubaekje started out as the frontrunner in national strength thanks to its fertile plains and diplomatic ties with China, Hugoguryeo soon became the largest force in the new three kingdom era as it quickly expanded its territory to almost three quarters of the peninsula under Gung Ye and the general Wanggeon. As time passed however, Gung Ye started to call himself the Maitreya Buddha and resort to despotism, causing him to be overthrown by Wanggeon in 918. Wanggeon established a new dynasty called Goryeo and moved the capital to Songak (hangul:송악, hanja:松嶽) the following year, creating the new troika of Goryeo, Baekje and Silla.
The three kingdoms were in a constant power struggle, although by this time Silla had weakened to a despondent state and did not pose a big threat to the other two nations. Hubaekje led with an offensive approach but Wanggeon of Goryeo placed more importance on diplomatic ties, which endeared themselves to Silla. The conflict between Hubaekje and Goryeo was constant near the Silla territory, as both countries wanted to wield their power over the region. Hubaekje led by attacking Gyeongju, the capital of Silla, in 927 and crushing the Goryeo army. Goryeo retaliated by winning the battle at Gochang in 930 and reclaiming the territory of Woongjin in 934.
In 935, King Gyeongsun of a very weakened Silla surrenders to Goryeo. During this time, inner power struggles within Hubaekje weaken the country already fatigued from warfare. Gyeon Hwon names his youngest son Geumgang as heir, but his other sons (by a previous wife) join forces and rebel, placing Gyeon Hwon's eldest son Singeom on the throne and confining Gyeon Hwon to Geumsan Temple. Gyeon Hwon later escapes to Goryeo and joins forces with Wanggeon's army to attack his own founded country. Hubaekje falls to Goryeo in 936 and the peninsula is reunified.